commit | 5be3417fdf09327f9ce2e5b5cff1928a96c0c07b | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Sun Mar 24 19:02:38 2024 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Sun Mar 24 19:02:38 2024 +0530 |
tree | f1e0e8740c7e686e6ece68014f5953d788cb9b23 | |
parent | b1a9b6d64a215bf97739b2603803016b8d4d15a5 [diff] |
fix: Add default finance book check in P&L statement
diff --git a/erpnext/accounts/report/profit_and_loss_statement/profit_and_loss_statement.js b/erpnext/accounts/report/profit_and_loss_statement/profit_and_loss_statement.js index 2ffd3b3..98c6656 100644 --- a/erpnext/accounts/report/profit_and_loss_statement/profit_and_loss_statement.js +++ b/erpnext/accounts/report/profit_and_loss_statement/profit_and_loss_statement.js
@@ -24,3 +24,10 @@ fieldtype: "Check", default: 1, }); + +frappe.query_reports["Profit and Loss Statement"]["filters"].push({ + fieldname: "include_default_book_entries", + label: __("Include Default FB Entries"), + fieldtype: "Check", + default: 1, +});