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)]
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
2
dec. 25
|
1560 | |||
|
|
1
nov. 25
|
574 | ||
|
2
nov. 25
|
673 | |||
|
2
okt. 25
|
710 | |||
|
0
okt. 25
|
1671 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.