refactor: temporarily save balances in JSON

(cherry picked from commit f44c908a8d)
This commit is contained in:
ruthra kumar
2025-10-08 10:23:24 +05:30
committed by Mergify
parent b484db3ffd
commit bc07de8c12
2 changed files with 9 additions and 2 deletions

View File

@@ -6,7 +6,8 @@
"engine": "InnoDB",
"field_order": [
"processing_date",
"status"
"status",
"closing_balance"
],
"fields": [
{
@@ -20,13 +21,18 @@
"fieldtype": "Select",
"label": "Status",
"options": "Queued\nRunning\nCompleted"
},
{
"fieldname": "closing_balance",
"fieldtype": "JSON",
"label": "Closing Balance"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2025-10-01 16:00:02.221411",
"modified": "2025-10-08 10:19:29.928526",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Process Period Closing Voucher Detail",

View File

@@ -14,6 +14,7 @@ class ProcessPeriodClosingVoucherDetail(Document):
if TYPE_CHECKING:
from frappe.types import DF
closing_balance: DF.JSON | None
parent: DF.Data
parentfield: DF.Data
parenttype: DF.Data