[IMP] subscription : Removed all filters related to a date field and added the related date field in the search view.

bzr revid: mdi@tinyerp.com-20120530051514-p8kq32722m38wqnr
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-05-30 10:45:14 +05:30
parent bcf2099bac
commit 22c4f2916d
1 changed files with 1 additions and 4 deletions

View File

@ -84,14 +84,11 @@
<filter icon="terp-check"
string="Running"
domain="[('state','=','running')]"/>
<separator orientation="vertical"/>
<filter string="This Week" icon="terp-go-week" domain="[('date_init','&lt;=', time.strftime('%%Y-%%m-%%d')), ('date_init','&gt;',(datetime.date.today()-datetime.timedelta(days=7)).strftime('%%Y-%%m-%%d'))]"/>
<filter icon="terp-go-today" string="Today"
domain="[('date_init','&lt;', time.strftime('%%Y-%%m-%%d 23:59:59')), ('date_init','&gt;=', time.strftime('%%Y-%%m-%%d 00:00:00'))]"/>
<separator orientation="vertical"/>
<field name="name"/>
<field name="user_id"/>
<field name="partner_id"/>
<field name="date_init"/>
</group>
<newline/>
<group expand="0" string="Group By...">