From fcaf313c0f04d7d457e1d0c5cef62c253d6bf76d Mon Sep 17 00:00:00 2001 From: Makarand Bauskar Date: Tue, 25 Jul 2017 10:49:35 +0530 Subject: [PATCH] [minor] make-demo fixes for manufacturing domain (#10029) --- erpnext/manufacturing/doctype/bom/bom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/bom/bom.py b/erpnext/manufacturing/doctype/bom/bom.py index ce89589886..7130a3e94d 100644 --- a/erpnext/manufacturing/doctype/bom/bom.py +++ b/erpnext/manufacturing/doctype/bom/bom.py @@ -52,8 +52,8 @@ class BOM(WebsiteGenerator): validate_uom_is_integer(self, "stock_uom", "stock_qty", "BOM Item") self.update_stock_qty() - self.validate_materials() self.set_bom_material_details() + self.validate_materials() self.validate_operations() self.calculate_cost()