Custom changes to AOR_Report.php

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?


Not all files in SuiteCRM are really ready to be customized like that.

That one seems to be referenced only here:


Line 413 on my 7.10.4 system.