[FIX] hr_timesheet_sheet: Add a new button in the search view, only
show the confirmed sheets bzr revid: stephane@openerp.com-20100311133905-0kbhuy9yy02a4uqe
This commit is contained in:
@@ -179,7 +179,8 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Timesheet">
|
||||
<group col="10" colspan="4">
|
||||
<filter icon="terp-crm" string="Unvalidated" domain="[('state','!=','done'),('date_to','<',current_date')]" help="Unvalidated Timesheets"/>
|
||||
<filter icon="terp-crm" string="Unvalidated" domain="[('state','in',('draft', 'new'))]" help="Unvalidated Timesheets"/>
|
||||
<filter icon="terp-crm" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Timesheets"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="state">
|
||||
<filter icon="terp-hr" domain="[('state','=','draft')]" help="Draft Timesheets"/>
|
||||
|
||||
Reference in New Issue
Block a user