mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
refactor: maintain report type on each date
(cherry picked from commit 186d540502)
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"engine": "InnoDB",
|
"engine": "InnoDB",
|
||||||
"field_order": [
|
"field_order": [
|
||||||
"processing_date",
|
"processing_date",
|
||||||
|
"report_type",
|
||||||
"status",
|
"status",
|
||||||
"closing_balance"
|
"closing_balance"
|
||||||
],
|
],
|
||||||
@@ -29,13 +30,21 @@
|
|||||||
"fieldtype": "JSON",
|
"fieldtype": "JSON",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Closing Balance"
|
"label": "Closing Balance"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "Profit and Loss",
|
||||||
|
"fieldname": "report_type",
|
||||||
|
"fieldtype": "Select",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"label": "Report Type",
|
||||||
|
"options": "Profit and Loss\nBalance Sheet"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"grid_page_length": 50,
|
"grid_page_length": 50,
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-10-09 16:46:37.778199",
|
"modified": "2025-10-17 11:28:34.775743",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Process Period Closing Voucher Detail",
|
"name": "Process Period Closing Voucher Detail",
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ class ProcessPeriodClosingVoucherDetail(Document):
|
|||||||
parentfield: DF.Data
|
parentfield: DF.Data
|
||||||
parenttype: DF.Data
|
parenttype: DF.Data
|
||||||
processing_date: DF.Date | None
|
processing_date: DF.Date | None
|
||||||
|
report_type: DF.Literal["Profit and Loss", "Balance Sheet"]
|
||||||
status: DF.Literal["Queued", "Running", "Paused", "Completed"]
|
status: DF.Literal["Queued", "Running", "Paused", "Completed"]
|
||||||
# end: auto-generated types
|
# end: auto-generated types
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user