From 5c85740aab8205be5c31e1ba00bef8ab6e4dbe1e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 20 Aug 2015 17:43:21 +0530 Subject: [PATCH] [minor] don't validate stock for template item --- erpnext/stock/doctype/item/item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index cd3d295979..f9b41f1657 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py @@ -64,7 +64,7 @@ class Item(WebsiteGenerator): self.update_item_desc() self.synced_with_hub = 0 self.validate_has_variants() - self.validate_stock_for_template_must_be_zero() + # self.validate_stock_for_template_must_be_zero() self.validate_attributes() self.validate_variant_attributes()