콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4512 화면

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
7월 22
3138
1
10월 15
4654
3
3월 24
4855
1
7월 23
1724
1
9월 22
2793