hi all,
if the user interface is set to a language other than English, Item > Template > Make Multiple Variants will fails with
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
response = frappe.api.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 55, in handle
return 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 1036, in call
return fn(*args, **newargs)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/item_variant.py", line 182, in enqueue_multiple_variant_creation
return create_multiple_variants(item, args)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/item_variant.py", line 198, in create_multiple_variants
variant.save()
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 271, in save
return self._save(*args, **kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 294, in _save
self.insert()
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 246, in insert
raise e
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 243, in insert
self.db_insert()
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/base_document.py", line 334, in db_insert
raise frappe.DuplicateEntryError(self.doctype, self.name, e)
frappe.exceptions.DuplicateEntryError: ('Item', 'Ava 001-COG', IntegrityError(1062, "Duplicate entry 'Ava 001-COG' for key 'PRIMARY'"))
Is this a known issue? ERPNext v12.1.16…