コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4473 ビュー

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
3017
1
10月 15
4512
3
3月 24
4588
1
7月 23
1653
1
9月 22
2714