Doctype Permission Errors

Anyone knows or is there anyone who can enlighten me on how to trace missing permissions given per doctype? For example, I would like my Account User to use and import a bank statement however, I am getting an error log as below. This means the system does not process/proceed on the importation of the file after clicking the import button.

Traceback (most recent call last):
  File "apps/frappe/frappe/utils/background_jobs.py", line 134, in execute_job
    method(**kwargs)
  File "apps/erpnext/erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py", line 121, in start_import
    update_mapping_db(bank, template_options)
  File "apps/erpnext/erpnext/accounts/doctype/bank_statement_import/bank_statement_import.py", line 155, in update_mapping_db
    bank.save()
  File "apps/frappe/frappe/model/document.py", line 310, in save
    return self._save(*args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 334, in _save
    self.check_permission("write", "save")
  File "apps/frappe/frappe/model/document.py", line 201, in check_permission
    self.raise_no_permission_to(permlevel or permtype)
  File "apps/frappe/frappe/model/document.py", line 217, in raise_no_permission_to
    raise frappe.PermissionError
frappe.exceptions.PermissionError
1 Like

Did you find a solution for this?

Hi @Azhar_Umar actually havent tried the workaround that I got from another topic. You check it here: Bank Clearance Summary is Accessible only to System Manager

1 Like