mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 01:07:19 +00:00
[minor] don't validate stock for template item
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user