تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4495 أدوات العرض

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 22
3053
1
أكتوبر 15
4563
3
مارس 24
4655
1
يوليو 23
1666
1
سبتمبر 22
2737