Skip to Content
Menu
This question has been flagged
2 Replies
3905 Views

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
Discard
Best Answer

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
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 22
1561
1
Oct 15
3194
3
Mar 24
1877
1
Jul 23
511
1
Sep 22
1357