When I create item variant I get the following error
Traceback (most recent call last):
File "/opt/bench/frappe-bench/apps/frappe/frappe/app.py", line 62, in application
response = frappe.handler.handle()
File "/opt/bench/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/opt/bench/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/opt/bench/frappe-bench/apps/frappe/frappe/__init__.py", line 1007, in call
return fn(*args, **newargs)
File "/opt/bench/frappe-bench/apps/frappe/frappe/client.py", line 35, in get_list
limit_start=limit_start, limit_page_length=limit_page_length, ignore_permissions=False)
File "/opt/bench/frappe-bench/apps/frappe/frappe/__init__.py", line 1235, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(None, *args, **kwargs)
File "/opt/bench/frappe-bench/apps/frappe/frappe/model/db_query.py", line 87, in execute
result = self.build_and_run()
File "/opt/bench/frappe-bench/apps/frappe/frappe/model/db_query.py", line 99, in build_and_run
args = self.prepare_args()
File "/opt/bench/frappe-bench/apps/frappe/frappe/model/db_query.py", line 118, in prepare_args
self.build_conditions()
File "/opt/bench/frappe-bench/apps/frappe/frappe/model/db_query.py", line 292, in build_conditions
match_conditions = self.build_match_conditions()
File "/opt/bench/frappe-bench/apps/frappe/frappe/model/db_query.py", line 406, in build_match_conditions
role_permissions = frappe.permissions.get_role_permissions(meta, user=self.user)
File "/opt/bench/frappe-bench/apps/frappe/frappe/permissions.py", line 164, in get_role_permissions
applicable_permissions = list(filter(is_perm_applicable, doctype_meta.permissions))
AttributeError: 'Meta' object has no attribute 'permissions'
Barnchs develop and master have both this bug