Hello everyone. I'm quite at loss with this problem.
I know that OTRS has a "Custom" directory in which i can replicate the tree structure of the system in order to customize some of the modules that the system will use.
In order to add some modification to the customer company creation and editing, I've copied
Kernel/Modules/AdminCustomerCompany.pm to Custom/Kernel/Modules/AdminCustomerCompany.pm
I've also created a file under Customer/Kernel/System/ called Payments.pm which correctly register itself as a package and it's used by the custom AdminCustomerCompany.pm module.
The weird (is the only word I can use) behaviour is:
The customized module isn't loaded every time I access the customer company creation, but only randomly. The other times, the original file in Modules directory is used by the system.
To be sure of this, I've put a Log entry into both files to check which was used, so I'm sure that sometimes it uses the original script and sometime it uses the new one.
I always do the same operation: go to Users->Customer Company Administration and then select "Add Customer".
What can cause this apparently random choice about which file to use?
Thanks in advance
--
Lynx International Srl
Stefano Finetti
Customer Service Manager
Axed Group
Via Pier Luigi Nervi e/3 - Torre 6 - 04100 Latina
Skype: ssfinetti
Mobile: +39 348.38.58.165