Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4462 Lượt xem

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 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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')
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
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
3
thg 3 24
4582
1
thg 7 23
1643
1
thg 9 22
2693