Skip to Content
Menu
This question has been flagged
2 Replies
4482 Rodiniai

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 

Portretas
Atmesti
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')
Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 22
3033
1
spal. 15
4529
3
kov. 24
4600
1
liep. 23
1656
1
rugs. 22
2719