Odoo Help

0

create a task for my subordinates only

By
Faris
on 1/14/16, 3:39 PM 784 views

  Any body can help me to create a task for my subordinates only  

Actually i need to Create new task, and when i open the drop down (Assigned to) Only subordinate appear


if someone provide me how to make this rule, really i appreciated

Faris
on 1/15/16, 3:31 AM
0

I think you can do this through coding. You can do this by adding a condition in the "create" method that checks the manager of the person that the task is being assigned to him, if this manager is the current logged in user , " you ", then let the "create" method do the creation, otherwise , raise an exception saying that : " the person you are creating a task on is not one of your subordinates"


Another way is by using Rules, and this is more proficient. In this way you have to add a rule on the subordinate table so that you can not see anyone other than yours.

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

1 follower(s)

Stats

Asked: 1/14/16, 3:39 PM
Seen: 784 times
Last updated: 1/15/16, 3:39 AM