İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4487 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 22
3040
1
Eki 15
4538
3
Mar 24
4612
1
Tem 23
1663
1
Eyl 22
2722