Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4459 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 22
3001
1
ott 15
4505
3
mar 24
4579
1
lug 23
1640
1
set 22
2693