Community mailing list archives
Re: Dynamic / conditional module dependenciesby
You can do this by checking if the module if installed or not, for example:
Thank you :)
In many cases we want to build a module that affects for ex. sale, product and POS.
but we don't want the functions that affect POS to be executed in case that POS is not installed.
the way we can build a general module that doesn't depend on POS but affects it if only installed.
How can we achieve this behaviour in odoo 8 or 9 without building module for sale and another for POS ?