Merge pull request #50927 from khushi8112/income-as-root-type-for-round-off-account

feat: allow income as root type for round off account
This commit is contained in:
Khushi Rawat
2025-12-04 13:14:12 +05:30
committed by GitHub

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", {}],