[FIX] marketing_campaign: correct search view, today should not be OR'ed with states

In 6.1 a group of filters in a search view are
OR'ed together if toggled when they are contained
within the same 'separator' group.

bzr revid: odo@openerp.com-20120309011312-zcn29o4r3uqjxiow
This commit is contained in:
Olivier Dony 2012-03-09 02:13:12 +01:00
parent eefbb2ac5c
commit dd16fb2819
1 changed files with 1 additions and 0 deletions

View File

@ -399,6 +399,7 @@
<search string="Marketing Campaign Activities">
<group>
<filter icon="terp-go-today" string="Today" name="today" domain="[('date','&lt;', time.strftime('%%Y-%%m-%%d 23:59:59')), ('date','&gt;=', time.strftime('%%Y-%%m-%%d 00:00:00'))]"/>
<separator orientation="vertical"/>
<filter icon="terp-gtk-go-back-rtl" string="To Do" name="todo" domain="[('state','=','todo')]"/>
<filter icon="terp-emblem-important" string="Exception" domain="[('state','=','exception')]"/>
<separator orientation="vertical"/>