Community mailing list archives

Dynamic / conditional module dependencies

Mohamed Hagag
- 06/29/2016 15:41:25


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 ?