mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 16:13:22 +00:00
Merge pull request #55504 from aerele/fix/soa-show-opening-entries
fix(accounts): allow process statement of account generation with opening entries
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
"categorize_by",
|
"categorize_by",
|
||||||
"cost_center",
|
"cost_center",
|
||||||
"territory",
|
"territory",
|
||||||
|
"show_opening_entries",
|
||||||
"ignore_exchange_rate_revaluation_journals",
|
"ignore_exchange_rate_revaluation_journals",
|
||||||
"ignore_cr_dr_notes",
|
"ignore_cr_dr_notes",
|
||||||
"column_break_14",
|
"column_break_14",
|
||||||
@@ -414,10 +415,17 @@
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Print Format",
|
"label": "Print Format",
|
||||||
"options": "Print Format"
|
"options": "Print Format"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "0",
|
||||||
|
"depends_on": "eval:(doc.report == 'General Ledger');",
|
||||||
|
"fieldname": "show_opening_entries",
|
||||||
|
"fieldtype": "Check",
|
||||||
|
"label": "Show Opening Entries"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-10-07 12:19:20.719898",
|
"modified": "2026-06-01 15:37:07.660442",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Process Statement Of Accounts",
|
"name": "Process Statement Of Accounts",
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ class ProcessStatementOfAccounts(Document):
|
|||||||
sender: DF.Link | None
|
sender: DF.Link | None
|
||||||
show_future_payments: DF.Check
|
show_future_payments: DF.Check
|
||||||
show_net_values_in_party_account: DF.Check
|
show_net_values_in_party_account: DF.Check
|
||||||
|
show_opening_entries: DF.Check
|
||||||
show_remarks: DF.Check
|
show_remarks: DF.Check
|
||||||
start_date: DF.Date | None
|
start_date: DF.Date | None
|
||||||
subject: DF.Data | None
|
subject: DF.Data | None
|
||||||
@@ -270,7 +271,7 @@ def get_gl_filters(doc, entry, tax_id, presentation_currency):
|
|||||||
"categorize_by": doc.categorize_by,
|
"categorize_by": doc.categorize_by,
|
||||||
"currency": doc.currency,
|
"currency": doc.currency,
|
||||||
"project": [p.project_name for p in doc.project],
|
"project": [p.project_name for p in doc.project],
|
||||||
"show_opening_entries": 0,
|
"show_opening_entries": doc.show_opening_entries,
|
||||||
"include_default_book_entries": 0,
|
"include_default_book_entries": 0,
|
||||||
"tax_id": tax_id if tax_id else None,
|
"tax_id": tax_id if tax_id else None,
|
||||||
"show_net_values_in_party_account": doc.show_net_values_in_party_account,
|
"show_net_values_in_party_account": doc.show_net_values_in_party_account,
|
||||||
|
|||||||
Reference in New Issue
Block a user