This question has been flagged
2231 Views

Hello,

I have a module developped only for the HR Manager. Into the model I have this:

my_model many2one employee

And I 'd like to give the access to a employee that have his id into the field of the model in other world, I 'd like to do this:

1) I am a employee 2) I click on the list view on a "My_model" 3) Open ERP check if the ID user is the ID into the many2one 4) access if yes or not access if no

Thanks

Avatar
Discard