refactor: flag to differentiate generated and default values
This commit is contained in:
parent
ca14ae8f1b
commit
0925706d5e
@ -14,7 +14,8 @@
|
|||||||
"period_to_date",
|
"period_to_date",
|
||||||
"difference",
|
"difference",
|
||||||
"balance_sheet_summary",
|
"balance_sheet_summary",
|
||||||
"profit_loss_summary"
|
"profit_loss_summary",
|
||||||
|
"generated"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@ -59,11 +60,17 @@
|
|||||||
"fieldname": "profit_loss_summary",
|
"fieldname": "profit_loss_summary",
|
||||||
"fieldtype": "Float",
|
"fieldtype": "Float",
|
||||||
"label": "Profit and Loss Summary"
|
"label": "Profit and Loss Summary"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "0",
|
||||||
|
"fieldname": "generated",
|
||||||
|
"fieldtype": "Check",
|
||||||
|
"label": "Generated"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2023-12-01 16:49:57.146867",
|
"modified": "2023-12-01 17:46:12.437996",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Bisect Nodes",
|
"name": "Bisect Nodes",
|
||||||
|
|||||||
@ -16,6 +16,7 @@ class BisectNodes(Document):
|
|||||||
|
|
||||||
balance_sheet_summary: DF.Float
|
balance_sheet_summary: DF.Float
|
||||||
difference: DF.Float
|
difference: DF.Float
|
||||||
|
generated: DF.Check
|
||||||
left_child: DF.Link | None
|
left_child: DF.Link | None
|
||||||
name: DF.Int | None
|
name: DF.Int | None
|
||||||
period_from_date: DF.Datetime | None
|
period_from_date: DF.Datetime | None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user