232.4.1
by chloups208
[UF-377]initial commit - modification in different modules: msf_partner, msf_order_date |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
<openerp>
|
|
3 |
<data>
|
|
350.5.1
by chloups208
partner-modification-fix |
4 |
|
5 |
<record id="view_partner_tree" model="ir.ui.view"> |
|
6 |
<field name="name">res.partner.tree</field> |
|
7 |
<field name="model">res.partner</field> |
|
8 |
<field name="type">tree</field> |
|
9 |
<field eval="8" name="priority"/> |
|
10 |
<field name="inherit_id" ref="base.view_partner_tree" /> |
|
11 |
<field name="arch" type="xml"> |
|
12 |
<data>
|
|
13 |
||
14 |
<field name="country" position="after"> |
|
15 |
<field name="zone" /> |
|
16 |
</field>
|
|
17 |
||
18 |
</data>
|
|
19 |
</field>
|
|
20 |
</record>
|
|
232.4.1
by chloups208
[UF-377]initial commit - modification in different modules: msf_partner, msf_order_date |
21 |
|
22 |
<record id="view_partner_form" model="ir.ui.view"> |
|
23 |
<field name="name">res.partner.form</field> |
|
24 |
<field name="model">res.partner</field> |
|
25 |
<field name="type">form</field> |
|
26 |
<field name="inherit_id" ref="base.view_partner_form" /> |
|
27 |
<field name="arch" type="xml"> |
|
28 |
<data>
|
|
29 |
||
30 |
<field name="lang" position="after"> |
|
31 |
<field name="zone" /> |
|
32 |
</field>
|
|
33 |
<field name="user_id" position="replace"></field> |
|
34 |
<!-- <field name="leadtime" position="replace"></field> -->
|
|
35 |
<field name="parent_id" position="replace"></field> |
|
350.5.1
by chloups208
partner-modification-fix |
36 |
<field name="active" position="replace"></field> |
37 |
<field name="website" widget="url" position="replace"></field> |
|
38 |
<separator string="General Information" colspan="4" position="replace"></separator> |
|
39 |
<field name="function" position="after"> |
|
40 |
<field name="active" /> |
|
41 |
<!-- <field name="website" widget="url"/> -->
|
|
42 |
</field>
|
|
232.4.1
by chloups208
[UF-377]initial commit - modification in different modules: msf_partner, msf_order_date |
43 |
<field name="date" position="replace"></field> |
44 |
||
45 |
</data>
|
|
46 |
</field>
|
|
47 |
</record>
|
|
48 |
||
350.5.1
by chloups208
partner-modification-fix |
49 |
<record id="view_res_partner_filter" model="ir.ui.view"> |
50 |
<field name="name">view.res.partner.filter</field> |
|
51 |
<field name="model">res.partner</field> |
|
52 |
<field name="type">search</field> |
|
53 |
<field name="inherit_id" ref="base.view_res_partner_filter" /> |
|
54 |
<field name="arch" type="xml"> |
|
55 |
<data>
|
|
56 |
<xpath expr="/search/group/filter[@name='supplier']" position="after"> |
|
57 |
<separator orientation="vertical" /> |
|
58 |
<filter string="International" name="international" icon="gtk-dnd" domain="[('zone','=','international')]" help="International Partners"/> |
|
59 |
<filter string="National" name="national" icon="gtk-dnd-multiple" domain="[('zone','=','national')]" help="National Partners"/> |
|
60 |
</xpath>
|
|
61 |
</data>
|
|
62 |
</field>
|
|
63 |
</record>
|
|
64 |
||
65 |
<record id="view_partner_property_form" model="ir.ui.view"> |
|
66 |
<field name="name">res.partner.stock.property.form.inherit</field> |
|
67 |
<field name="model">res.partner</field> |
|
68 |
<field name="type">form</field> |
|
69 |
<field name="inherit_id" ref="stock.view_partner_property_form"/> |
|
70 |
<field name="arch" type="xml"> |
|
71 |
<data>
|
|
72 |
||
73 |
<xpath expr="//separator[@string='Inventory Properties']" position="before"> |
|
74 |
<group colspan="4" col="4" groups="base.group_extended"> |
|
75 |
<separator string="Default Lead Times (days)" colspan="4"/> |
|
76 |
<field name="supplier_lt" attrs="{'required': [('supplier', '=', True),],}" /><newline/> |
|
77 |
<field name="transport_0" /> |
|
78 |
<field name="transport_0_lt" on_change="on_change_lead_time(transport_0_lt,procurement_lt)" /> |
|
79 |
<field name="transport_1" /> |
|
80 |
<field name="transport_1_lt" /> |
|
81 |
<field name="transport_2" /> |
|
82 |
<field name="transport_2_lt" /> |
|
83 |
<field name="procurement_lt" on_change="on_change_lead_time(transport_0_lt,procurement_lt)" /><newline/> |
|
84 |
<field name="customer_lt" attrs="{'required': [('customer', '=', True),],}" /> |
|
85 |
</group>
|
|
86 |
</xpath>
|
|
87 |
||
88 |
</data>
|
|
89 |
</field>
|
|
90 |
</record>
|
|
91 |
||
232.4.1
by chloups208
[UF-377]initial commit - modification in different modules: msf_partner, msf_order_date |
92 |
<record id="product_supplierinfo_form_view" model="ir.ui.view"> |
93 |
<field name="name">product.supplierinfo.form.view</field> |
|
94 |
<field name="model">product.supplierinfo</field> |
|
95 |
<field name="type">form</field> |
|
96 |
<field name="inherit_id" ref="product.product_supplierinfo_form_view" /> |
|
97 |
<field name="arch" type="xml"> |
|
98 |
<data>
|
|
99 |
<field name="name" position="replace"> |
|
100 |
<field name="name" on_change="onchange_supplier_id(name)" /> |
|
101 |
</field>
|
|
102 |
</data>
|
|
103 |
</field>
|
|
104 |
</record>
|
|
105 |
||
106 |
</data>
|
|
107 |
</openerp>
|