Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Plugin/module multiplexer/switcher for multi company

by
Tecnativa. S. L., Pedro M. Baeza
- 09/02/2022 14:40:07
The only problem with the dynamic dispatching according method name is that the code discoverability is more difficult, as you usually look for occurrences of your full method name in other parts of the code, which doesn't happen here. I recently suggest to use a similar approach using inheritance here:


and attended by Denis here:


Regards.

Reference