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
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_product_price_history_search" model="ir.ui.view">
<field name="name">product.price.history.search</field>
<field name="model">product.price.history</field>
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search">
<field name="product_id" />
<field name="date_to" />
<field name="list_price" />
<field name="standard_price" />
</search>
</field>
</record>
<record id="view_product_price_history_tree" model="ir.ui.view">
<field name="name">product.price.history.tree</field>
<field name="model">product.price.history</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="History">
<field name="product_id" />
<field name="date_to" />
<field name="list_price" />
<field name="standard_price" />
</tree>
</field>
</record>
<record id="view_product_price_history_form" model="ir.ui.view">
<field name="name">product.price.history.form</field>
<field name="model">product.price.history</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="History">
<field name="date_to" />
<newline/>
<field name="list_price" />
<field name="standard_price" />
</form>
</field>
</record>
<record model="ir.actions.act_window" id="product_price_history_action">
<field name="name">Product Price History</field>
<field name="res_model">product.price.history</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="product_price_history" name="Price History" parent="product.menu_products" action="product_price_history_action"/>
</data>
</openerp>
|