mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 23:33:43 +00:00
refactor: cleaner initialization
This commit is contained in:
@@ -777,7 +777,7 @@ class BuyingController(SubcontractingController):
|
||||
def validate_budget(self):
|
||||
from erpnext.controllers.budget_controller import BudgetValidation
|
||||
|
||||
val = BudgetValidation(self)
|
||||
val = BudgetValidation(doc=self)
|
||||
val.validate()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user