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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_partner_tree" model="ir.ui.view">
<field name="name">res.partner.tree</field>
<field name="model">res.partner</field>
<field name="type">tree</field>
<field eval="8" name="priority"/>
<field name="inherit_id" ref="base.view_partner_tree" />
<field name="arch" type="xml">
<data>
<field name="country" position="after">
<field name="zone" />
</field>
</data>
</field>
</record>
<record id="view_partner_form" model="ir.ui.view">
<field name="name">res.partner.form</field>
<field name="model">res.partner</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<data>
<field name="lang" position="after">
<field name="zone" />
</field>
<field name="user_id" position="replace"></field>
<!-- <field name="leadtime" position="replace"></field> -->
<field name="parent_id" position="replace"></field>
<field name="active" position="replace"></field>
<field name="website" widget="url" position="replace"></field>
<separator string="General Information" colspan="4" position="replace"></separator>
<field name="function" position="after">
<field name="active" />
<!-- <field name="website" widget="url"/> -->
</field>
<field name="date" position="replace"></field>
</data>
</field>
</record>
<record id="view_res_partner_filter" model="ir.ui.view">
<field name="name">view.res.partner.filter</field>
<field name="model">res.partner</field>
<field name="type">search</field>
<field name="inherit_id" ref="base.view_res_partner_filter" />
<field name="arch" type="xml">
<data>
<xpath expr="/search/group/filter[@name='supplier']" position="after">
<separator orientation="vertical" />
<filter string="International" name="international" icon="gtk-dnd" domain="[('zone','=','international')]" help="International Partners"/>
<filter string="National" name="national" icon="gtk-dnd-multiple" domain="[('zone','=','national')]" help="National Partners"/>
</xpath>
</data>
</field>
</record>
<record id="view_partner_property_form" model="ir.ui.view">
<field name="name">res.partner.stock.property.form.inherit</field>
<field name="model">res.partner</field>
<field name="type">form</field>
<field name="inherit_id" ref="stock.view_partner_property_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//separator[@string='Inventory Properties']" position="before">
<group colspan="4" col="4" groups="base.group_extended">
<separator string="Default Lead Times (days)" colspan="4"/>
<field name="supplier_lt" attrs="{'required': [('supplier', '=', True),],}" /><newline/>
<field name="transport_0" />
<field name="transport_0_lt" on_change="on_change_lead_time(transport_0_lt,procurement_lt)" />
<field name="transport_1" />
<field name="transport_1_lt" />
<field name="transport_2" />
<field name="transport_2_lt" />
<field name="procurement_lt" on_change="on_change_lead_time(transport_0_lt,procurement_lt)" /><newline/>
<field name="customer_lt" attrs="{'required': [('customer', '=', True),],}" />
</group>
</xpath>
</data>
</field>
</record>
<record id="product_supplierinfo_form_view" model="ir.ui.view">
<field name="name">product.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">
<data>
<field name="name" position="replace">
<field name="name" on_change="onchange_supplier_id(name)" />
</field>
</data>
</field>
</record>
</data>
</openerp>
|