Merge pull request #49590 from ruthra-kumar/make_checkboxes_opt_out

refactor: make checkboxes opt out
This commit is contained in:
ruthra kumar
2025-09-29 16:56:27 +05:30
committed by GitHub
8 changed files with 23 additions and 23 deletions

View File

@@ -875,7 +875,7 @@ class BuyingController(SubcontractingController):
self.update_fixed_asset(field, delete_asset=True)
def validate_budget(self):
if frappe.get_single_value("Accounts Settings", "use_new_budget_controller"):
if not frappe.get_single_value("Accounts Settings", "use_legacy_budget_controller"):
from erpnext.controllers.budget_controller import BudgetValidation
val = BudgetValidation(doc=self)