1 <?xml version="1.0" encoding="utf-8"?>
4 <record id="view_purchase_order_group" model="ir.ui.view">
5 <field name="name">Merger Purchase Orders</field>
6 <field name="model">purchase.order.group</field>
7 <field name="type">form</field>
8 <field name="arch" type="xml">
9 <form string="Merge orders">
10 <separator string="Are you sure you want to merge these orders ?" colspan="4"/>
12 <label string="Please note that:" colspan="4"/>
14 <label string="-orders will only be merged if:" colspan="4"/>
16 <label string="* their status is draft" colspan="4"/>
18 <label string="* they belong to the same partner" colspan="4"/>
20 <label string="* are going to the same location" colspan="4"/>
22 <label string="* have the same pricelist" colspan="4"/>
24 <label string="- lines will only be merged if:" colspan="4"/>
26 <label string="* they are exactly the same except for the quantity and unit" colspan="4"/>
27 <separator string="" colspan="4" />
28 <button special="cancel" string="Cancel" />
29 <button name="merge_orders" string="Merge orders" type="object" />
34 <act_window name="Merge Purchase orders"
35 res_model="purchase.order.group"
36 src_model="purchase.order"
39 key2="client_action_multi"
40 id="action_view_purchase_order_group"/>