[REF] hr_timesheet_sheet: Rewrite the domain
bzr revid: stephane@openerp.com-20100308165648-24jocdsyc8ctncpe
This commit is contained in:
parent
04ef9b7795
commit
c8a24fd862
|
@ -197,8 +197,8 @@
|
|||
<field name="type">search</field>
|
||||
<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','<',time.strftime('%%Y-%%m-%%d'))]" help="Unvalidated Timesheets"/>
|
||||
<group col="10" colspan="4">
|
||||
<filter icon="terp-crm" string="Unvalidated" domain="[('state','!=','done'),('date_to','<',current_date')]" help="Unvalidated Timesheets"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="state">
|
||||
<filter icon="terp-hr" domain="[('state','=','draft')]" help="Draft Timesheets"/>
|
||||
|
|
Loading…
Reference in New Issue