From 2bdcec0a7e96cfb5373b625ff5663ed438fa33b7 Mon Sep 17 00:00:00 2001 From: khushi8112 Date: Thu, 4 Dec 2025 13:03:57 +0530 Subject: [PATCH] feat: allow income as root type for round off account --- erpnext/setup/doctype/company/company.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/doctype/company/company.js b/erpnext/setup/doctype/company/company.js index 6beb400e228..a4cdbe223f1 100644 --- a/erpnext/setup/doctype/company/company.js +++ b/erpnext/setup/doctype/company/company.js @@ -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", {}],