Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4464 Zobrazení

Hello everyone,

My module for version 12 is conflicting with EE edition. I need to check by code if Odoo EE is installed and run a specific code based on the result.

Can anyone help me?

Thank you all in advance 

Best regards 

PM 

Avatar
Zrušit
Nejlepší odpověď

try to avoid having the same model names.

to check if it's enterprise you can try something like:

version_info = odoo.service.common.exp_version()
version_info.get('server_version')
version_info.get('server_version_info')
Avatar
Zrušit
Nejlepší odpověď

you need to check your code and change with different model,view id to avoid conflict.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 22
3005
1
říj 15
4506
3
bře 24
4583
1
čvc 23
1648
1
zář 22
2709