mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
refactor: temporarily save balances in JSON
(cherry picked from commit f44c908a8d)
This commit is contained in:
@@ -6,7 +6,8 @@
|
|||||||
"engine": "InnoDB",
|
"engine": "InnoDB",
|
||||||
"field_order": [
|
"field_order": [
|
||||||
"processing_date",
|
"processing_date",
|
||||||
"status"
|
"status",
|
||||||
|
"closing_balance"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@@ -20,13 +21,18 @@
|
|||||||
"fieldtype": "Select",
|
"fieldtype": "Select",
|
||||||
"label": "Status",
|
"label": "Status",
|
||||||
"options": "Queued\nRunning\nCompleted"
|
"options": "Queued\nRunning\nCompleted"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "closing_balance",
|
||||||
|
"fieldtype": "JSON",
|
||||||
|
"label": "Closing Balance"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"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-01 16:00:02.221411",
|
"modified": "2025-10-08 10:19:29.928526",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Process Period Closing Voucher Detail",
|
"name": "Process Period Closing Voucher Detail",
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ class ProcessPeriodClosingVoucherDetail(Document):
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from frappe.types import DF
|
from frappe.types import DF
|
||||||
|
|
||||||
|
closing_balance: DF.JSON | None
|
||||||
parent: DF.Data
|
parent: DF.Data
|
||||||
parentfield: DF.Data
|
parentfield: DF.Data
|
||||||
parenttype: DF.Data
|
parenttype: DF.Data
|
||||||
|
|||||||
Reference in New Issue
Block a user