User Permissions - Stock Ledger - Report

hello every one.

I want to ensure that in standard reports like the Stock Ledger, currency-related fields are not visible to the Stock Manager.
The Stock Manager should be able to view the Stock Ledger report but not see certain specific fields.
How can I achieve this?
It seems that through the perm level field, this can only be done in the doctype.
What is the solution for the report?

Hi there,

There’s no way to block specific fields in general reports. Your best option is to write your own report that shows only the data you want to be available.

Yes, @raha you should make a custom report and then you can show the columns for data on the basis of role etc.

Tip:

  1. Create a report - script report
  2. Now you will have the reports files, just copy paste the code of the core reports files and make sure im JS file you are the current report name while copying pasting.
  3. Now adjust that report according to your requirements or according to permissions etc.

:v:

Field Based Permissions in proper DocType may solve that issue.