forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use separate child table for summary
- Loading branch information
1 parent
b12ca65
commit 49d3bcb
Showing
8 changed files
with
126 additions
and
46 deletions.
There are no files selected for viewing
Empty file.
59 changes: 59 additions & 0 deletions
59
...unts/doctype/transaction_deletion_record_details/transaction_deletion_record_details.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,59 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"creation": "2024-02-04 10:53:32.307930", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"doctype_name", | ||
"docfield_name", | ||
"no_of_docs", | ||
"done" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "doctype_name", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "DocType", | ||
"options": "DocType", | ||
"read_only": 1, | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "docfield_name", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "DocField", | ||
"read_only": 1 | ||
}, | ||
{ | ||
"fieldname": "no_of_docs", | ||
"fieldtype": "Int", | ||
"in_list_view": 1, | ||
"label": "No of Docs", | ||
"read_only": 1 | ||
}, | ||
{ | ||
"default": "0", | ||
"fieldname": "done", | ||
"fieldtype": "Check", | ||
"in_list_view": 1, | ||
"label": "Done", | ||
"read_only": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2024-02-04 10:55:52.060417", | ||
"modified_by": "Administrator", | ||
"module": "Accounts", | ||
"name": "Transaction Deletion Record Details", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
26 changes: 26 additions & 0 deletions
26
...counts/doctype/transaction_deletion_record_details/transaction_deletion_record_details.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,26 @@ | ||
# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class TransactionDeletionRecordDetails(Document): | ||
# begin: auto-generated types | ||
# This code is auto-generated. Do not modify anything in this block. | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
if TYPE_CHECKING: | ||
from frappe.types import DF | ||
|
||
docfield_name: DF.Data | None | ||
doctype_name: DF.Link | ||
done: DF.Check | ||
no_of_docs: DF.Int | ||
parent: DF.Data | ||
parentfield: DF.Data | ||
parenttype: DF.Data | ||
# end: auto-generated types | ||
|
||
pass |
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
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
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
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
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