I created 2 modules, both using an override on the same class ( Customer ) to add DB extra data representation. The second module gives me an error because the class is overridden already by the first module. Both modules have an "/override/classes/" path. I solved merging all the overrides on the first module and stripping it out form the second.
But what is the right way to proceed before coding a module that uses an override?
- should I manage all needed overrides putting them in the "/override" folder in the filesystem, stripping out override from the modules folder?
- should I create a module that manages all the classes override, stripping out override from the other modules folder?
- or ... what?
Thank you in advance for your indications. My best, Daniele M