mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 01:36:55 +00:00
fix: Variant naming if optional attributes
This commit is contained in:
@@ -309,7 +309,7 @@ def make_variant_item_code(template_item_code, template_item_name, variant):
|
||||
}, as_dict=True)
|
||||
|
||||
if not item_attribute:
|
||||
return
|
||||
continue
|
||||
# frappe.throw(_('Invalid attribute {0} {1}').format(frappe.bold(attr.attribute),
|
||||
# frappe.bold(attr.attribute_value)), title=_('Invalid Attribute'),
|
||||
# exc=InvalidItemAttributeValueError)
|
||||
|
||||
Reference in New Issue
Block a user