Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4465 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jul 22
3009
1
Okt 15
4512
3
Mar 24
4585
1
Jul 23
1650
1
Sep 22
2711