تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3581 أدوات العرض

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)]
   
   
   
   
   

الصورة الرمزية
إهمال
أفضل إجابة

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