Can we write custom script on standard reports

Lets say the scenario is like in Accounts Receivable reports we have 3 fields for Ageing and I want to add one more to it.
I did it by adding the filter in accounts_receivable.js file . But these changes will be lost when i run an update.
How to prevent that ? any ideas ?

1 Like

You have to make related features in python too

Make a copy of that report with new name and do your changes

I did exactly the same, just wanted to know if the same could be achieved without doing that.