refactor: filter on account_type

(cherry picked from commit 193ea9ad8f)
This commit is contained in:
ruthra kumar
2024-09-02 17:52:28 +05:30
committed by Mergify
parent da2f6a045a
commit 7eb4b42280

View File

@@ -252,7 +252,7 @@ erpnext.company.setup_queries = function (frm) {
["default_expense_account", { root_type: "Expense" }],
["default_income_account", { root_type: "Income" }],
["round_off_account", { root_type: "Expense" }],
["round_off_for_opening", { root_type: "Liability" }],
["round_off_for_opening", { root_type: "Liability", account_type: "Round Off for Opening" }],
["write_off_account", { root_type: "Expense" }],
["default_deferred_expense_account", {}],
["default_deferred_revenue_account", {}],