Hello,
I found an issue having v11.1.14. After I created a template based on Manufacturer, I can’t create a variant because it asks for “Please specify at least one attribute in the Attributes table”
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 61, in application
response = frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1026, in call
return fn(*args, **newargs)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/item_variant.py", line 35, in get_variant
frappe.throw(_("Please specify at least one attribute in the Attributes table"))
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 353, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red')
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 339, in msgprint
_raise_exception()
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 312, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Please specify at least one attribute in the Attributes table
Creating variants upon a template only works with attributes.