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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--
inherit: purchase_order_form. model 'purchase.order' does not change
-->
<record id="purchase_order_form" model="ir.ui.view">
<field name="name">purchase.order.form.inherit</field>
<field name="model">purchase.order</field>
<field name="type">form</field>
<field name="inherit_id" ref="purchase.purchase_order_form" />
<field name="priority">100</field>
<field name="arch" type="xml">
<data>
<field name="product_qty" position="before">
<field name="internal_code" invisible="True" />
<field name="internal_name" invisible="True" />
<field name="supplier_code" />
<field name="supplier_name" invisible="True" />
</field>
</data>
</field>
</record>
<!--
inherit: purchase_order_line_form model 'purchase.order.line' does
not change. It has been inherited, but with the same name
-->
<record id="purchase_order_line_form" model="ir.ui.view">
<field name="name">purchase.order.line.form.inherit</field>
<field name="model">purchase.order.line</field>
<field name="type">form</field>
<field name="priority">100</field>
<field name="inherit_id" ref="purchase.purchase_order_line_form" /> <!-- should be _form2 ?? used in purchase_msf_view.xml/order_nomenclature_select_product_view.xml -->
<field name="arch" type="xml">
<field name="price_unit" position="after">
<field name="manufacturer_id" readonly="1"/>
<field name="second_manufacturer_id" readonly="1"/>
<field name="third_manufacturer_id" readonly="1"/>
<field name="internal_name" invisible="True" />
<field name="internal_code" invisible="True" />
<field name="supplier_name" invisible="True" />
<field name="supplier_code" invisible="True" />
</field>
</field>
</record>
</data>
</openerp>
|