[FIX] project_messages: correct domain on today button

bzr revid: hmo@tinyerp.com-20101012135453-z5ecbvber6cllqvy
This commit is contained in:
Harry (OpenERP)
2010-10-12 19:24:53 +05:30
parent 7b7323d09e
commit bec1971158
@@ -70,7 +70,7 @@
<field name="arch" type="xml">
<search string="Project Messages">
<group>
<filter icon="terp-go-today" string="Today" separator="1" domain="[('create_date','=',time.strftime('%%Y-%%m-%%d'))]"/>
<filter icon="terp-go-today" string="Today" separator="1" domain="[('create_date','&gt;=',time.strftime('%%Y-%%m-%%d')),('create_date','&lt;', (datetime.date.today() + datetime.timedelta (days = 1)).strftime('%%Y-%%m-%%d'))]"/>
<separator orientation="vertical"/>
<field name="project_id"/>
<field name="from_id"/>