I'm new in openERP and i use openERP V7
i have hr manager M1 and under him 3 employees emp1 , emp2 and emp3
and another hr manager M2 under him >> emp4 , emp5 , emp6
i want M1 just see Timesheets of himself and emp1 , emp2 and emp3 only
and M2 just see Timesheets of himself and emp4 , emp5 , emp6
i tried to use record rules but i couldn't create the expression right
also if i want to let him access his department only what can i do?
any one can help me please
thanks to all in advance
anyone can help me?
-------------
the answer work with "Timesheets to Validate" menu only
and now I want to do same record rule on "Timesheet Activities" menu but no result
I try to add this line to `hr.analytic.timesheet` model
`'employee_id': fields.many2one('hr.employee', 'Employee', required=True),`
add the result was that no records in tree.
------------------------
please help me to understand how to do it and explain me in more detaisls how can i create domains like that easily.
↧