forked from OCA/server-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ir_config_parameter_view.xml
36 lines (35 loc) · 1.59 KB
/
ir_config_parameter_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
<openerp>
<data>
<record model="ir.ui.view" id="view_config_list">
<field name="name">ir.config_parameter.list</field>
<field name="model">ir.config_parameter</field>
<field name="priority" eval="6"/>
<field name="arch" type="xml">
<tree string="Technical configuration parameters">
<field name="key" select="1"/>
<field name="value" select="1" />
</tree>
</field>
</record>
<record model="ir.ui.view" id="view_config_form">
<field name="name">ir.config_parameter.form</field>
<field name="model">ir.config_parameter</field>
<field name="priority" eval="6"/>
<field name="arch" type="xml">
<form string="Technical configuration parameters">
<field name="key" select="1"/>
<field name="value" select="1" />
</form>
</field>
</record>
<record id="view_config_action" model="ir.actions.act_window">
<field name="name">Technical config parameters</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.config_parameter</field>
<field name="view_type">form</field>
<field name="view_id" ref="view_config_list"/>
</record>
<menuitem name="Technical config parameters" id="technical_config_parameters"
parent="base.next_id_15" action="view_config_action" groups="base.group_extended"/>
</data>
</openerp>