Fixed updating cost on BOM after submission #1563

This commit is contained in:
Nabin Hait 2014-05-02 17:51:24 +05:30
parent 053a87edf6
commit 232954d4b9

View File

@ -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):