Correct way to duplicate Standard Report

Hello,

I have been using ERPNext for few years now, but I am new to the customizations on core level.

I want to duplicate the standard reports in order to add more functions/filters/features to them.

What I did:

  • Enabled developer_mode on one site
  • duplicated the report from UI and kept it as standard=yes and saved
  • Went to the original report path erpnext/account/report/…, copied the .py .js and .json files and pasted in the new folder created for the duplicated report
  • Added the customizations
  • disable developer_mode

Till here, I noticed that my changes are only the website which I had duplicated the report on.

But, after doing bench update --reset, the report got reflected on all the websites I am hosting on that frappe bench.

My question is, Is that the correct way to duplicate? how to avoid the report being reflected on the other websites ?

Please look at this link.

Thank you for the reply, just want to confirm so if I choose Accounts Module as per the link you shared, that will not affect me with the Bench udpates ?

As when I tried to do bench udpate, it gave me error stating I have local changes in erpnext application.

so is it okay to ignore that and just do bench_update --reset ?