Restrict view with permissions

Hello,

I have created 2 doctypes 1. Job Card & 2. Store Location
I have linked store location to Job Card doc.

Now i want to restrict access to job card based on the store location.

i tried all combinations with Role & User permissions but a user can see all the Job cards irrespective of store locations.

Am i missing anything? please help
Thanks

You need to set Store Location to user through User Permission Manager.
Refer following link to set permissions -
https://frappe.github.io/erpnext/user/manual/en/setting-up/users-and-permissions/user-permissions.html

1 Like