Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4466 Widoki

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 

Awatar
Odrzuć
Najlepsza odpowiedź

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')
Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 22
3009
1
paź 15
4512
3
mar 24
4585
1
lip 23
1650
1
wrz 22
2711