Hi,
I would like to implement the following scenario.
- User must be able to see all the records and should be able to edit only his own records
Is it possible to do it in openerp 7 and if possible how to do it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I would like to implement the following scenario.
Is it possible to do it in openerp 7 and if possible how to do it?
You can define Access Rights
to your Object as readonly (disable write
and delete
access).
And define Record Rules
for your Object with full access, but with domain:
['|',('user_id','=',False),('user_id','=',user.id)]
So, to all user will apply Access Rights
and if user in domain then also apply Record Rules
.
What is the meaning of this filter code? I do not understand.
['|',('user_id','=',False),('user_id','=',user.id)]
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
mar. 25
|
1476 | ||
|
0
ago. 25
|
1451 | ||
|
2
abr. 23
|
25784 | ||
|
0
dez. 20
|
3294 | ||
|
2
jun. 20
|
17864 |