refactor: rename checkbox for budget controller

This commit is contained in:
ruthra kumar
2025-09-10 09:52:14 +05:30
parent 1f91dcb1bd
commit d3d03e8d83
4 changed files with 11 additions and 11 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)