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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
3581
أدوات العرض
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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
0
أغسطس 22
|
722 | ||
|
0
سبتمبر 24
|
1556 | ||
|
3
أغسطس 20
|
4193 | ||
|
1
مارس 15
|
3647 | ||
|
1
مارس 15
|
6455 |