6
<record id="base.group_pricelist_date" model="res.groups">
7
<field name="name">pricelist date</field>
11
<record model="ir.ui.view" id="view_product_pricelist_version_inherit1">
12
<field name="name">view.product.pricelist.version.inherit1</field>
13
<field name="model">product.pricelist</field>
14
<field name="inherit_id" ref="product.product_pricelist_view" />
15
<field name="type">form</field>
16
<field name="arch" type="xml">
17
<xpath expr="/form/field[@name='version_id']/tree/field[@name='date_start']" position="replace">
18
<field groups="base.group_pricelist_date" name="date_start"/>
20
<xpath expr="/form/field[@name='version_id']/form/field[@name='date_start']" position="replace">
21
<field groups="base.group_pricelist_date" name="date_start"/>
23
<xpath expr="/form/field[@name='version_id']/tree/field[@name='date_end']" position="replace">
24
<field groups="base.group_pricelist_date" name="date_end"/>
26
<xpath expr="/form/field[@name='version_id']/form/field[@name='date_end']" position="replace">
27
<field groups="base.group_pricelist_date" name="date_end"/>
32
<record model="ir.ui.view" id="view_product_pricelist_inherit1">
33
<field name="name">view.product.pricelist.inherit1</field>
34
<field name="model">product.pricelist.item</field>
35
<field name="inherit_id" ref="product.product_pricelist_item_form_view" />
36
<field name="type">form</field>
37
<field name="arch" type="xml">
38
<form string="Products Listprices Items" position="replace">
39
<form string="Products Listprices Items">
40
<separator colspan="4" string="Rules Test Match"/>
41
<field colspan="4" name="name" select="1"/>
42
<field name="product_id" on_change="product_id_change(product_id)" select="1"/>
43
<field name="packaging_id" on_change="product_id_change(product_id)" select="1"/>
44
<field name="product_tmpl_id" select="1"/>
45
<field name="categ_id" select="1" groups="base.group_pricelist_date"/>
46
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
48
<field name="min_quantity" groups="base.group_pricelist_date"/>
49
<field name="sequence" groups="base.group_pricelist_date"/>
51
<field name="price_cot" on_change="onchange_price_cot(price_cot)"/>
53
<group colspan="4" groups="base.group_pricelist_date">
54
<separator string="Price Computation"/>
57
<field name="base" groups="base.group_pricelist_date"/>
58
<field name="base_pricelist_id" attrs="{'required': [('base','=', -1)], 'readonly': [('base','!=', -1)]}" groups="base.group_pricelist_date"/>
59
<group col="6" colspan="5" groups="base.group_pricelist_date">
60
<label string="New Price ="/>
61
<label string="Base Price"/>
62
<label string="* ( 1 + "/>
63
<field name="price_discount" nolabel="1"/>
64
<label string=" ) + "/>
65
<field name="price_surcharge" nolabel="1" />
67
<field name="price_round" string="Rounding Method"/>
68
<field name="price_min_margin" string="Min. Margin"/>
69
<field name="price_max_margin" string="Max. Margin"/>
77
<record model="ir.ui.view" id="view_product_pricelist_inherit3">
78
<field name="name">view.product.pricelist.inherit3</field>
79
<field name="model">product.pricelist.item</field>
80
<field name="inherit_id" ref="product.product_pricelist_item_tree_view" />
81
<field name="type">form</field>
82
<field name="arch" type="xml">
83
<tree string="Products Listprices Items" position="replace">
84
<tree string="Products Listprices Items">
85
<field name="sequence"/>
87
<field colspan="4" name="name" select="1"/>
88
<field name="packaging_id" select="1"/>
89
<field name="product_tmpl_id" select="1"/>
90
<field name="categ_id" select="1"/>
91
<field name="min_quantity" groups="base.group_pricelist_date"/>
92
<field name="base" groups="base.group_pricelist_date"/>
98
<record model="ir.ui.view" id="view_product_pricelist_inherit2">
99
<field name="name">view.product.pricelist.inherit2</field>
100
<field name="model">product.pricelist</field>
101
<field name="inherit_id" ref="product.product_pricelist_view" />
102
<field name="type">form</field>
103
<field name="arch" type="xml">
104
<field name="version_id" position="after">
105
<button name="get_price_4date" string="Recalcular" type="object"/>