forked from OCA/product-attribute
-
Notifications
You must be signed in to change notification settings - Fork 1
/
product_price_fields_view.xml
66 lines (58 loc) · 2.54 KB
/
product_price_fields_view.xml
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
<?xml version="1.0" encoding="utf-8"?>
<!--
product_multi_price for OpenERP
Copyright (C) 2011 Akretion Sébastien BEAU <[email protected]>
The licence is in the file __openerp__.py
-->
<openerp>
<data>
<!-- VIEW FOR THE OBJECT : product_price_fields -->
<record id="product_multi_price_product_price_fields_view_form" model="ir.ui.view">
<field name="name">product_multi_price.product_price_fields.view_form</field>
<field name="model">product.price.fields</field>
<field eval="16" name="priority"/>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Price Fields">
<field name="name" />
<field name="field_name" />
<field name="sequence" />
<field name="price_field_id" />
<field name="inc_price_field_id" />
<field name="basedon_field_id" />
<field name="product_coef_field_id" />
<field name="categ_coef_field_id" />
<field name="tax_included" />
<field name="currency_id" />
<group colspan="2" col="2">
<separator string="Default settings" colspan="2"/>
<field name="default_basedon" colspan="2"/>
</group>
</form>
</field>
</record>
<record id="product_multi_price_product_price_fields_view_tree" model="ir.ui.view">
<field name="name">product_multi_price.product_price_fields.view_tree</field>
<field name="model">product.price.fields</field>
<field eval="16" name="priority"/>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Price Fields">
<field name="name" />
<field name="field_name" />
<field name="sequence" />
</tree>
</field>
</record>
<record id="product_multi_price_product_price_fields_action" model="ir.actions.act_window">
<field name="name">Add Price</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.price.fields</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
action="product_multi_price_product_price_fields_action" id="menu_product_price_fields"
parent="product.menu_product_pricelist_main" sequence="7"/>
</data>
</openerp>