forked from OCA/purchase-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
purchase_group_orders_view.xml
38 lines (37 loc) · 1.52 KB
/
purchase_group_orders_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_purchase_order_group_shop_carrier" model="ir.ui.view">
<field name="name">Merger Purchase Orders</field>
<field name="model">purchase.order.group</field>
<field name="inherit_id" ref='purchase.view_purchase_order_group'/>
<field name="type">form</field>
<field name="arch" type="xml">
<xpath expr="/form/label" position="replace">
<label string="
Please note that:
Orders will only be merged if:
* Purchase Orders are in draft
* Purchase Orders belong to the same supplier
* Purchase Orders are have same stock location, same pricelist
* Purchase Orders have been generated from Sale Orders issued by the same Shop, and having the same Carrier
Lines will only be merged if:
* Order lines are exactly the same except for the product,quantity and unit
" colspan="4"/>
</xpath>
</field>
</record>
<record id="purchase_order_form_shop_carrier" model="ir.ui.view">
<field name="name">purchase.order.form</field>
<field name="model">purchase.order</field>
<field name="type">form</field>
<field name="inherit_id" ref='purchase.purchase_order_form'/>
<field name="arch" type="xml">
<field name="company_id" position="after">
<field name="shop_id" readonly="1" />
<field name="carrier_partner_id" readonly="1" />
</field>
</field>
</record>
</data>
</openerp>