forked from akretion/sale-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mrp_property_formula_view.xml
58 lines (55 loc) · 2.33 KB
/
mrp_property_formula_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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="mrp_property_formula_tree_view" model="ir.ui.view">
<field name="name">mrp.property.formula.tree</field>
<field name="model">mrp.property.formula</field>
<field name="arch" type="xml">
<tree string="Formulas">
<field name="name"/>
</tree>
</field>
</record>
<record id="mrp_property_formula_form_view" model="ir.ui.view">
<field name="name">mrp.property.formula.form</field>
<field name="model">mrp.property.formula</field>
<field name="arch" type="xml">
<form string="Formula">
<group>
<field name="name"/>
<field name="formula_text"/>
</group>
</form>
</field>
</record>
<record id="view_mrp_property_formula_search" model="ir.ui.view">
<field name="name">mrp.property.formula.search</field>
<field name="model">mrp.property.formula</field>
<field name="arch" type="xml">
<search string="Search">
<field name="name"/>
<field name="formula_text"/>
</search>
</field>
</record>
<record id="mrp_property_formula_action" model="ir.actions.act_window">
<field name="name">Properties Formulas</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">mrp.property.formula</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to create a new formula.
</p><p>
The formulas are used to automatically compute sale line data (like price or quantity) on the basis of the properties specified by the user on the sale order
</p>
</field>
</record>
<menuitem
action="mrp_property_formula_action"
id="menu_mrp_property_formula_action"
groups="product.group_mrp_properties"
parent="mrp.menu_mrp_configuration"/>
</data>
</openerp>