mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
bom issue fixed
This commit is contained in:
@@ -316,9 +316,6 @@ class DocType:
|
|||||||
|
|
||||||
|
|
||||||
def on_update(self):
|
def on_update(self):
|
||||||
if self.doc.item != cstr(self.doc.name.split('/')[1]):
|
|
||||||
msgprint("Cannot change Item once the Bill Of Material is created.")
|
|
||||||
raise Exception
|
|
||||||
self.check_recursion()
|
self.check_recursion()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user