[IMP]: changed ir.rule for HR/Officer to see all Leave/Allocation request

bzr revid: mtr@tinyerp.com-20120807102905-bws5jn24hy9ucjnh
This commit is contained in:
Meera Trambadia 2012-08-07 15:59:05 +05:30
parent 1a459a100e
commit fb61582548
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<record id="property_rule_holidays_officer" model="ir.rule">
<field name="name">Holidays Officer</field>
<field model="ir.model" name="model_id" ref="model_hr_holidays"/>
<field name="domain_force">[('employee_id.parent_id.user_id','=',user.id)]</field>
<field name="domain_force">[(1,'=',1)]</field>
<field name="groups" eval="[(4,ref('base.group_hr_user'))]"/>
</record>