Skip to content
Snippets Groups Projects
Commit 4394d0fb authored by Yannick Tivisse's avatar Yannick Tivisse Committed by Richard Mathot
Browse files

[IMP] hr_contract: add filter current employee

parent 12056cae
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,8 @@
<field name="state"/>
<filter string="To Renew" name="to_renew" domain="[('state', '=', 'pending')]"/>
<separator />
<filter string="Current Employee" name="current_employee" domain="[('employee_id.active','=',True)]"/>
<separator/>
<filter string="New Mail" name="message_unread" domain="[('message_unread','=',True)]"/>
<group expand="0" string="Group By">
<filter string="Employee" domain="[]" context="{'group_by':'employee_id'}"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment