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)]
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2219
Views
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
Hi Husain, I will check this.
Thank you so much
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Aug 22
|
722 | ||
|
0
Sep 24
|
125 | ||
|
3
Aug 20
|
2832 | ||
|
1
Mar 15
|
2731 | ||
|
1
Mar 15
|
5306 |