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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 7 22
|
3003 | ||
|
1
thg 10 15
|
4506 | ||
Upgrade from Community to Enterprise
Đã xử lý
|
|
3
thg 3 24
|
4582 | |
|
1
thg 7 23
|
1643 | ||
|
1
thg 9 22
|
2693 |