[minor] don't validate stock for template item

This commit is contained in:
Anand Doshi 2015-08-20 17:43:21 +05:30
parent 8554cbf001
commit 5c85740aab

View File

@ -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()