Skip to Content
Menu
This question has been flagged

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
Discard
Best Answer

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
Discard
Author

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

Related Posts Replies Views Activity
0
Aug 22
722
0
Sep 24
125
3
Aug 20
2832
1
Mar 15
2731
1
Mar 15
5306