refactor: flag to differentiate generated and default values

This commit is contained in:
ruthra kumar 2023-12-01 17:46:28 +05:30
parent ca14ae8f1b
commit 0925706d5e
2 changed files with 10 additions and 2 deletions

View File

@ -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",

View File

@ -16,6 +16,7 @@ class BisectNodes(Document):
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