Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3473 Vistas

I am trying to filter a record according to user's allowed company that will display in Contacts. Any idea on how to accomplish it? Thanks in advance. I highly appreciate your answer/suggestions in advance.
Ex. User has allowed companies: Company A and Company B
Records with this kind of company should only be displayed.

This is what I did:



    Customer Record for Custom User Only Record Rule Domain Force
   
    ['|',('company_id','!=', False),('company_id','=', user.company_id.id)]
   
   
   
   
   

Avatar
Descartar
Mejor respuesta

Hello Moto Dzae
with the one of OCA module we can use same multi company functionality for partners as we have for users in odoo.
you can check below OCA module which will allowed you to show partners as per allowed companies.
https://odoo-community.org/shop/partner-multi-company-662#attr=6132

Hope this will help you.
Thanks 

Avatar
Descartar
Autor

Hi Husain, I will check this.
Thank you so much

Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 22
722
0
sept 24
1383
3
ago 20
3994
1
mar 15
3497
1
mar 15
6291