Fixed updating cost on BOM after submission #1563
This commit is contained in:
parent
053a87edf6
commit
232954d4b9
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user