refactor: flag to differentiate generated and default values
diff --git a/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.json b/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.json
index f352d7a..03fad26 100644
--- a/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.json
+++ b/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.json
@@ -14,7 +14,8 @@
"period_to_date",
"difference",
"balance_sheet_summary",
- "profit_loss_summary"
+ "profit_loss_summary",
+ "generated"
],
"fields": [
{
@@ -59,11 +60,17 @@
"fieldname": "profit_loss_summary",
"fieldtype": "Float",
"label": "Profit and Loss Summary"
+ },
+ {
+ "default": "0",
+ "fieldname": "generated",
+ "fieldtype": "Check",
+ "label": "Generated"
}
],
"index_web_pages_for_search": 1,
"links": [],
- "modified": "2023-12-01 16:49:57.146867",
+ "modified": "2023-12-01 17:46:12.437996",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Bisect Nodes",
diff --git a/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.py b/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.py
index e49eabb..f507766 100644
--- a/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.py
+++ b/erpnext/accounts/doctype/bisect_nodes/bisect_nodes.py
@@ -16,6 +16,7 @@
balance_sheet_summary: DF.Float
difference: DF.Float
+ generated: DF.Check
left_child: DF.Link | None
name: DF.Int | None
period_from_date: DF.Datetime | None