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