Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2813 มุมมอง

I am trying to restrict a user to only have access to his contacts, but after I made a Registry rule with the following code:


['|', '|', ('partner_share', '=', False), ('company_id', 'in', company_ids), ('company_id', '=', False), ('company_id', '=', 'Cristian Jesus Fernandez Balcazar')]



It only work if I go from the Sales Menu ->Contacts.


But if I go directly to the contacts menu from the main menu, it show contacts form all companies. (We have four companies)


Here I is the link to the video of what is happening
https://www.awesomescreenshot.com/video/10194081?key=1a0157fe8083f231967d4329535df9b4


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

as you can see at the end of the video you have a default filter active in the sarch bar, try removing it and check the result again.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
filter_partner not working แก้ไขแล้ว
1
ก.ย. 23
1457
1
พ.ย. 21
4709
odoo partnership แก้ไขแล้ว
1
พ.ย. 24
2381
0
พ.ค. 21
2862
4
ก.พ. 24
13585