Odoo Help

0

Access right to a model only with ref_id into the target model

By
John
on 5/7/13, 11:26 AM 602 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 5/7/13, 11:26 AM
Seen: 602 times
Last updated: 3/16/15, 8:10 AM