mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
fix: Remove docstatus check during budget validate
This commit is contained in:
@@ -530,7 +530,6 @@ class BuyingController(StockController, Subcontracting):
|
|||||||
self.update_fixed_asset(field, delete_asset=True)
|
self.update_fixed_asset(field, delete_asset=True)
|
||||||
|
|
||||||
def validate_budget(self):
|
def validate_budget(self):
|
||||||
if self.docstatus == 1:
|
|
||||||
for data in self.get('items'):
|
for data in self.get('items'):
|
||||||
args = data.as_dict()
|
args = data.as_dict()
|
||||||
args.update({
|
args.update({
|
||||||
|
|||||||
Reference in New Issue
Block a user