ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Unable to submit stock entry - permission error?

When a user (non admin) is trying to submit a stock entry - this error is thrown "Not allowed to create stock entry for material issue or material receipt"

This user has all required permissions (screenshot attached below)
In addition, the permissions for Warehouse, Serial Number, items, item group is also given.

Trying to understand what is missed here.
In fact - even if I assign an in-built role to the user - such as Stock Manager, Stock User etc. still the problem persists.

can you share error screenshot? This error doesn’t exist anywhere in codebase… maybe customization?

This is the screenshot. AFAIK we haven’t made customisations to this module.

Hi,

Is the user able to create Stock Entry of another type like Material Transfer?

Have you set a permission of Account to the role?

We figured out the problem. As @ankush pointed out, it was indeed a customisation hidden in our code.
Now that we changed it, it’s working as expected.
Thank you @ankush

1 Like