From 57f9bd1d739cbbde25957f28b6df40418b723d0d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 17 May 2012 15:02:02 +0530 Subject: [PATCH] bom issue fixed --- erpnext/production/doctype/bom/bom.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/erpnext/production/doctype/bom/bom.py b/erpnext/production/doctype/bom/bom.py index 89e4d4b1a5..36df84e442 100644 --- a/erpnext/production/doctype/bom/bom.py +++ b/erpnext/production/doctype/bom/bom.py @@ -316,9 +316,6 @@ class DocType: 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()