Override report

hi everyone
I want to add a specific filter to the General Ledger report.
how can I override the report in frappe?

I used the following method, but it didn’t work.

report_overrides = {
“General Ledger”: {

“script”: “custom_app.custom_report.stock_ledger”,

“print_format”: “custom_app.custom_print_format.stock_ledger_format”,

“query”: “custom_app.custom_report.stock_ledger_query.sql”,

“js”: “/custom_app/public/js/general_ledger.js”
}
}

@raha you can not do this. Please create custom report. i think best option is create custom report.

1 Like