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
|
<?xml version="1.0" encoding="utf-8" ?>
<openerp>
<data>
<record id="manufacturer_supplierinfo_form_view" model="ir.ui.view">
<field name="name">manufacture.supplierinfo.form.view</field>
<field name="model">product.supplierinfo</field>
<field name="type">form</field>
<field name="inherit_id" ref="product.product_supplierinfo_form_view" />
<field name="arch" type="xml">
<xpath expr="/form/field[@name='product_code']" position="after">
<field name="manufacturer_id" />
</xpath>
</field>
</record>
<record id="manufacturer_supplierinfo_tree_view" model="ir.ui.view">
<field name="name">manufacturer.supplierinfo.tree.view</field>
<field name="model">product.supplierinfo</field>
<field name="type">tree</field>
<field name="inherit_id" ref="product.product_supplierinfo_tree_view" />
<field name="arch" type="xml">
<xpath expr="/tree/field[@name='min_qty']" position="after">
<field name="manufacturer_id" />
</xpath>
</field>
</record>
</data>
</openerp>
|