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

Hello everyone,

I’m encountering an issue while creating a record rule in Odoo related to the res.partner model. Here are the details:

Problem:

When I try to create a record rule that involves opportunities_ids.my_custom_model.name, I receive an error when logging in as a specific user who is in that group (Sales User Own Document Only).

Record Rule:

[("opportunity_ids.mortgage_product_id.name", "ilike", "Salman")]


Error Message:

Forbidden


Uh-oh! Looks like you have stumbled upon some top-secret records. Sorry, iamsaleagent (id=12) doesn't have 'read' access to: - User (res.users) If you really, really need access, perhaps you can win over your friendly administrator with a batch of freshly baked cookies. Implicitly accessed through 'User' (res.users).



Please Help



อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I have also tried to give all the access rights but still error occurs. 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ธ.ค. 21
7613
Security groups and record rules แก้ไขแล้ว
1
พ.ย. 24
1443
0
ส.ค. 21
2340
Restrict access by company แก้ไขแล้ว
1
มิ.ย. 19
4239
0
ธ.ค. 16
3430