Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4902 Ansichten

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



Avatar
Verwerfen
Beste Antwort

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


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Mai 24
2565
2
Juli 22
3635
2
Mai 18
9810
2
Juli 17
6752
5
Juli 15
6052