I had created new role and given permission to all tables and created record rule see own customers ['!',('user_id','=',user.id),('user_id','=',False)]
When i login with the new user role i am getting error model res.user access denied
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I had created new role and given permission to all tables and created record rule see own customers ['!',('user_id','=',user.id),('user_id','=',False)]
When i login with the new user role i am getting error model res.user access denied
Dear Vinod,
You need to inherit Customer window action and add domain like below.
[('user_id', '=', uid)]
Best Regards,
Ankit H Gandhi.
Thank you Ankit, your answer solved a part of my issue Can you give me some guidance on how should i proceed to put the same domain on POS customers cuz the debug mode doesn't give the same possibilities on POS screen as on the other views.
Do you have an exclamation in the first pair of quotes? The valid values are | (the vertical bar or pipe character) or & (the ampersand).
Try:
['|',('user_id','=',user.id),('user_id','=',False)]
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
3
Ara 25
|
1586 | |||
|
|
1
Kas 25
|
579 | ||
|
2
Kas 25
|
675 | |||
|
2
Eki 25
|
714 | |||
|
0
Eki 25
|
1671 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.