b943c64520d5f30b6ef3ffc0a1373b5d6bb7547b
[odoo/odoo.git] / addons / purchase / wizard / purchase_order_group_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
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"/>
11                                 <newline/>
12                                 <label string="Please note that:" colspan="4"/>
13                                 <newline/>
14                                 <label string="-orders will only be merged if:" colspan="4"/>
15                                 <newline/>
16                                 <label string="* their status is draft" colspan="4"/>
17                                 <newline/>
18                                 <label string="* they belong to the same partner" colspan="4"/>
19                                 <newline/>
20                                 <label string="* are going to the same location" colspan="4"/>
21                                 <newline/>
22                                 <label string="* have the same pricelist" colspan="4"/>
23                                 <newline/>
24                                 <label string="- lines will only be merged if:" colspan="4"/>
25                                 <newline/>
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" />
30                         </form>
31             </field>
32                 </record>
33
34          <act_window name="Merge Purchase orders"                   
35                     res_model="purchase.order.group"
36                     src_model="purchase.order"
37                     view_mode="form"
38                     target="new"        
39             key2="client_action_multi"    
40                     id="action_view_purchase_order_group"/>     
41                                         
42     </data>
43 </openerp>
44