Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4135 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 22
2296
1
oct 15
3851
3
mar 24
3373
1
jul 23
1020
1
sept 22
2013