<filter icon="terp-partner" domain="[('create_uid','=',uid)]" help="My Purchase Orders"/>
</field>
</group>
+ <newline/>
<group expand="1" string="Group By..." colspan="4" col="10">
<filter string="Supplier" icon="terp-purchase" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="State" icon="terp-sale" domain="[]" context="{'group_by':'state'}"/>
<form string="Merge orders">
<separator string="Are you sure you want to merge these orders ?" colspan="4"/>
<newline/>
- <label string="Please note that:" colspan="4"/>
- <newline/>
- <label string="-orders will only be merged if:" colspan="4"/>
- <newline/>
- <label string="* their status is draft" colspan="4"/>
- <newline/>
- <label string="* they belong to the same partner" colspan="4"/>
- <newline/>
- <label string="* are going to the same location" colspan="4"/>
- <newline/>
- <label string="* have the same pricelist" colspan="4"/>
- <newline/>
- <label string="- lines will only be merged if:" colspan="4"/>
- <newline/>
- <label string="* they are exactly the same except for the quantity and unit" colspan="4"/>
+ <label string="
+Please note that:
+Orders will only be merged if:
+* Purchase Orders are in draft
+* Purchase Orders belong to the same partner
+* Purchase Orders are have same stock location, same pricelist
+Lines will only be merged if:
+* Order lines are exactly the same except for the quantity and unit
+" colspan="4"/>
+ <newline/>
<separator string="" colspan="4" />
- <button special="cancel" string="Cancel" />
- <button name="merge_orders" string="Merge orders" type="object" />
+ <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+ <button name="merge_orders" string="Merge orders" type="object" icon="gtk-convert"/>
</form>
</field>
</record>