Report Name Changing while Downloading the Excel sheet

Hi All,

Is it possible to customize the filename for downloading standard or custom reports in ERPNext? Currently, it downloads as just the “Report Name,” but I need it to include “Report Name + Company Abbreviation + Current Date.”

Not available.

If you have filters available then filters will also added in name

@Abdeali Currently it was adding the same. But i need with the custom name of excel.

Then somehow you have to monkey patch:

frappe/frappe/desk/query_report.py at b46ab9dd8fc609bd46fd4f1543637e95be2f98fb · frappe/frappe · GitHub

or

frappe/frappe/desk/utils.py at 8c25d0a0ecf427493f6895ae6a4378ef7689cb05 · frappe/frappe · GitHub

Though it is not recommend to monkey patch.

@Abdeali I just added override_whitelisted_methods in hooks,then i made a logic inside Override Folder.It works now.

2 Likes