i have created script report but standard = ‘NO’ it has not generated any files and i have created this report in custom module (app). i basically want to push my code on git but as of no files got created even when i created new report i can’t push my report code.
If you want to add the code to your custom app then You have to set the standard = “Yes”
Step:
- Set Report Type as “Script Report”
- Set “Is Standard” as “Yes”
- Select the Module in which you want to add this report
- In the module folder (for example if it is Accounts in ERPnext the folder will be
erpnext/accounts/report/[report-name]
) you will see that templates for the report files will be created. - Write your python script in the generated
{report-name}.py
file. - You can add filters to your report by adding them to
{report-name}.js
Please check the second video.
1 Like
In my Local Setup I created Script Report, “Is Standard” as “Yes” but backend files not getting generated.
Version 14
It’ll be created in the module app, which you select in the report.