feat: allow income as root type for round off account

This commit is contained in:
khushi8112
2025-12-04 13:03:57 +05:30
parent 01c14b5ce4
commit 2bdcec0a7e

View File

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