I don’t know why but I am not able to extend AOR with my custom code and make it upgrade safe.
So I have created a copy of AOR_Report.php in custom/modules/AOR_Reports/AOR_Report.php
In this file I have added this at the beginning:
class CustomAOR_Report extends AOR_Report
…and latter in the code I did my custom changes…
After doing Repair&Rebuild my changes are not being executed.
And if I change the original file (inside modules/AOR_Reports) with my custom changes it is being executed.
Where did I make a mistake?