mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Fixed updating cost on BOM after submission #1563
This commit is contained in:
@@ -125,6 +125,7 @@ class BOM(Document):
|
|||||||
})["rate"]
|
})["rate"]
|
||||||
|
|
||||||
if self.docstatus in (0, 1):
|
if self.docstatus in (0, 1):
|
||||||
|
self.ignore_validate_update_after_submit = True
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
def get_bom_unitcost(self, bom_no):
|
def get_bom_unitcost(self, bom_no):
|
||||||
|
|||||||
Reference in New Issue
Block a user