Small enhancement on picking search view

This commit is contained in:
Alexis de Lattre
2015-10-09 12:51:20 +02:00
parent 7070f7f1ec
commit b2ce56755f

View File

@@ -33,6 +33,14 @@
<filter string="Partner" context="{'group_by': 'partner_id'}"/>
</group>
<filter string="Origin" position="replace"/>
<filter string="Expected Date" position="attributes">
<!-- group per day -->
<attribute name="context">"{'group_by':'min_date:day'}"</attribute>
</filter>
<filter string="Expected Date" position="after">
<filter name="date_done" string="Date Done"
context="{'group_by':'date_done:day'}"/>
</filter>
</field>
</record>