feat: Add net value filter on PSOA

This commit is contained in:
Deepesh Garg 2022-11-10 17:48:25 +05:30
parent 5f1b226362
commit 51521fc19f
2 changed files with 9 additions and 1 deletions

View File

@ -23,6 +23,7 @@
"fetch_customers", "fetch_customers",
"column_break_6", "column_break_6",
"primary_mandatory", "primary_mandatory",
"show_net_values_in_party_account",
"column_break_17", "column_break_17",
"customers", "customers",
"preferences", "preferences",
@ -291,10 +292,16 @@
"fieldname": "include_break", "fieldname": "include_break",
"fieldtype": "Check", "fieldtype": "Check",
"label": "Page Break After Each SoA" "label": "Page Break After Each SoA"
},
{
"default": "0",
"fieldname": "show_net_values_in_party_account",
"fieldtype": "Check",
"label": "Show Net Values in Party Account"
} }
], ],
"links": [], "links": [],
"modified": "2022-10-17 17:47:08.662475", "modified": "2022-11-10 17:44:17.165991",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Process Statement Of Accounts", "name": "Process Statement Of Accounts",

View File

@ -95,6 +95,7 @@ def get_report_pdf(doc, consolidated=True):
"show_opening_entries": 0, "show_opening_entries": 0,
"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,
} }
) )
col, res = get_soa(filters) col, res = get_soa(filters)