Problem in V14: custom_app hooks overrides not working if you have another app override same class

Hi everyone,

I have a custom_app that I override a method in Payment Entry class, so back in V13 every thing was working fine and my override runs as it supposed to, but after upgrading to V14 it won’t work no matter I do, so after a lot of digging and debugging I found that there is multiple overrides for the Payment Entry class in ‘HRMS’ and ‘non-profit’ apps, however these apps not overriding the same method I override in my custom_app, but for some reason the only override that works is the one in the LAST app I have installed in bench which -in my case- is ‘non-profit’ app.

So, if anyone knows how to solve this issue please tell.