Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4468 มุมมอง

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 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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')
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 22
3012
1
ต.ค. 15
4512
Upgrade from Community to Enterprise แก้ไขแล้ว
3
มี.ค. 24
4586
1
ก.ค. 23
1653
1
ก.ย. 22
2714