-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
8 changes: 8 additions & 0 deletions
8
erpnext/bulk_transaction/doctype/bulk_transaction_log/bulk_transaction_log.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | ||
// For license information, please see license.txt | ||
|
||
// frappe.ui.form.on("Bulk Transaction Log", { | ||
// refresh(frm) { | ||
|
||
// }, | ||
// }); |
80 changes: 80 additions & 0 deletions
80
erpnext/bulk_transaction/doctype/bulk_transaction_log/bulk_transaction_log.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"actions": [], | ||
"allow_copy": 1, | ||
"creation": "2023-11-09 20:14:45.139593", | ||
"doctype": "DocType", | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"date", | ||
"column_break_bsan", | ||
"log_entries", | ||
"section_break_mdmv", | ||
"succeeded", | ||
"column_break_qryp", | ||
"failed" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "date", | ||
"fieldtype": "Date", | ||
"label": "Date", | ||
"read_only": 1 | ||
}, | ||
{ | ||
"fieldname": "log_entries", | ||
"fieldtype": "Int", | ||
"in_list_view": 1, | ||
"label": "Log Entries", | ||
"read_only": 1 | ||
}, | ||
{ | ||
"fieldname": "column_break_bsan", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"fieldname": "section_break_mdmv", | ||
"fieldtype": "Section Break" | ||
}, | ||
{ | ||
"fieldname": "succeeded", | ||
"fieldtype": "Int", | ||
"label": "Succeeded", | ||
"read_only": 1 | ||
}, | ||
{ | ||
"fieldname": "column_break_qryp", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"fieldname": "failed", | ||
"fieldtype": "Int", | ||
"label": "Failed", | ||
"read_only": 1 | ||
} | ||
], | ||
"in_create": 1, | ||
"is_virtual": 1, | ||
"links": [], | ||
"modified": "2023-11-10 11:13:52.733076", | ||
"modified_by": "Administrator", | ||
"module": "Bulk Transaction", | ||
"name": "Bulk Transaction Log", | ||
"owner": "Administrator", | ||
"permissions": [ | ||
{ | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "System Manager", | ||
"share": 1, | ||
"write": 1 | ||
} | ||
], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
28 changes: 28 additions & 0 deletions
28
erpnext/bulk_transaction/doctype/bulk_transaction_log/bulk_transaction_log.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class BulkTransactionLog(Document): | ||
def db_insert(self, *args, **kwargs): | ||
pass | ||
|
||
def load_from_db(self): | ||
pass | ||
|
||
def db_update(self): | ||
pass | ||
|
||
@staticmethod | ||
def get_list(args): | ||
pass | ||
|
||
@staticmethod | ||
def get_count(args): | ||
pass | ||
|
||
@staticmethod | ||
def get_stats(args): | ||
pass |
9 changes: 9 additions & 0 deletions
9
erpnext/bulk_transaction/doctype/bulk_transaction_log/test_bulk_transaction_log.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and Contributors | ||
# See license.txt | ||
|
||
# import frappe | ||
from frappe.tests.utils import FrappeTestCase | ||
|
||
|
||
class TestBulkTransactionLog(FrappeTestCase): | ||
pass |