How set the permission for child table for script report

I create reports for POS Invoice Item Doctype.
When I run with the other user I got this message
You don't have permission to get a report on POS Invoice Item

Anyone know where to see this ?

1 Like

I’m facing the same issue, did you manage to solve it?

I think Frappe Framework doesn’t allow child doctype filters in the reports.

I’ve created a report filter for child table “MES Entity Attribute”. I get " Insufficient Permission for MES Entity Attribute" when user is clicks to filter.

If I uncheck “Is Child Table” and set permission, users can select the filters. When I convert it to child table I get “You do not have Read or Select Permissions for MES Entity Attribute” error.

Since we can’t set permissions in doctype level nor in role permission manager for child tables, I can conclude that we can’t have filters in reports for child tables for now. Frappe Framework seems designed as to get the permissions from the parent. Since we have no parent, we can’t get pass to permission error.


PS: Only Administrator can select the filter and execute the report.