跳至内容
菜单
此问题已终结
2 回复
4142 查看

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
2314
1
10月 15
3875
3
3月 24
3416
1
7月 23
1041
1
9月 22
2029