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

I created a new custom model and I would like my act_windows to filter the information to be displayed by a domain, I have used these domain configurations:


[('company_id','=','env.user.company_id')]
or

[('company_id','=',env.user.company_id)]

or

[('company_id','=',env.user.company_id.id)]

or
[('compania_id','=','env.user.company_id.id')]


This does not work, because even though the id of my company_id field is equal to that of the user.company_id, the data is not displayed 

I am using odoo v16, is there something i am doing wrong



形象
丢弃
最佳答案

Hi,


Please check this post: https://www.odoo.com/forum/help-1/actions-with-domain-by-user-s-company-127485

Hope this will help you

Thank you


形象
丢弃
相关帖文 回复 查看 活动
1
5月 24
2436
2
7月 22
3482
2
5月 18
9666
2
7月 17
6560
5
7月 15
5938