mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +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.update_item_desc()
|
||||||
self.synced_with_hub = 0
|
self.synced_with_hub = 0
|
||||||
self.validate_has_variants()
|
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_attributes()
|
||||||
self.validate_variant_attributes()
|
self.validate_variant_attributes()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user