[Fix] purchase: Fix the syntax of group_by in purchase_order_line search view

bzr revid: sbh@tinyerp.com-20100810061805-ig832odnmwnhpxb5
This commit is contained in:
sbh (Open ERP) 2010-08-10 11:48:05 +05:30
parent 18f5055402
commit b60868c2ea
1 changed files with 2 additions and 2 deletions

View File

@ -303,14 +303,14 @@
<field name="arch" type="xml">
<search string="Search Purchase Order">
<group>
<field name='order_id'/>
<field name="order_id"/>
<field name="product_id"/>
</group>
<newline/>
<group expand="0" string="Group By...">
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by' : 'state'}" />
<filter string="Product" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by' : 'product_id'}" />
<filter icon="terp-gtk-jump-to-rtl" string="Order Reference" domain="[('group_by' : 'order_id')]"/>
<filter icon="terp-gtk-jump-to-rtl" string="Order Reference" domain="[]" context="{'group_by' :'order_id'}"/>
</group>
</search>
</field>