forked from OCA/product-attribute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_attributes_view.xml
50 lines (43 loc) · 2.17 KB
/
custom_attributes_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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<menuitem id="menu_attribute_in_config_partner" name="Attributes"
parent="base.menu_config_address_book" sequence="20"/>
<record id="attribute_set_form_action" model="ir.actions.act_window">
<field name="name">Partner Attribute Sets</field>
<field name="res_model">attribute.set</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="base_custom_attributes.view_attribute_set_search"/>
<field name="context">{"force_model": 'res.partner'}</field>
<field name="help"></field>
</record>
<record id="attribute_group_form_action" model="ir.actions.act_window">
<field name="name">Attribute Groups</field>
<field name="res_model">attribute.group</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="base_custom_attributes.view_attribute_attribute_search"/>
<field name="context">{"force_model": 'res.partner'}</field>
<field name="help"></field>
</record>
<record id="attribute_attribute_form_action" model="ir.actions.act_window">
<field name="name">Partner Attribute</field>
<field name="res_model">attribute.attribute</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="base_custom_attributes.view_attribute_attribute_search"/>
<field name="context">{"force_model": 'res.partner'}</field>
<field name="help"></field>
</record>
<menuitem
action="attribute_set_form_action" id="menu_attribute_set_action"
parent="partner_custom_attributes.menu_attribute_in_config_partner" sequence="1"/>
<menuitem
action="attribute_group_form_action" id="menu_attribute_group_action"
parent="partner_custom_attributes.menu_attribute_in_config_partner" sequence="2"/>
<menuitem
action="attribute_attribute_form_action" id="menu_attribute_attribute_action"
parent="partner_custom_attributes.menu_attribute_in_config_partner" sequence="4"/>
</data>
</openerp>