Permission issue for price list

I have created one user and assigned all roles to him except System Manager, Employee, Website Manager.

Still this user is not able to create new entry for “Price List”.

So, what could be the issue?

Not permitted


User does not have access to this document

Insufficient Permission for Selling Settings.

please add permission via ‘Role Permission Manager’
and give permission for ‘Create’
please look below image

It is already there for roles, Purchase Master Manager and Sales Master and these roles are assigned to user.

In console it gives following error

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 60, in application
response = frappe.api.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 55, in handle
return frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 21, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 56, in execute_cmd
return, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 1036, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/”, line 22, in savedocs
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 271, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 294, in _save
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 258, in insert
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 917, in run_post_save_methods
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 786, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 1056, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 1039, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 780, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/price_list/”, line 17, in on_update
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/price_list/”, line 23, in set_default_if_missing
frappe.set_value(“Selling Settings”, “Selling Settings”, “selling_price_list”,
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 673, in set_value
return frappe.client.set_value(doctype, docname, fieldname, value)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 128, in set_value
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 271, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 297, in _save
self.check_permission(“write”, “save”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 178, in check_permission
self.raise_no_permission_to(permlevel or permtype)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 192, in raise_no_permission_to
raise frappe.PermissionError

Hi ,
Had you tried through Setup >> Doctype
Refer Screen shot,-

This seems to be a general issue in V12… you’ve got to give users permissions to at least read ‘Settings’ before they can do some stuff… even things as basic as sending out email! Error when sending email [V12] PermissionError: Email Account

You may just have to grant one of the existing roles permission to the Selling Settings doctype. By default, only the System Manager role has access to that


1 Like

Hello @wale

thanks it is resolved now.

1 Like