forked from OCA/product-attribute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom_attributes_view.xml
58 lines (52 loc) · 2.49 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
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<menuitem
id="menu_lot_attribute_in_warehouse_config"
name="Serial Number Attributes"
parent="stock.menu_warehouse_config"
sequence="20"/>
<record id="lot_attribute_set_form_action" model="ir.actions.act_window">
<field name="name">Lot 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": 'stock.production.lot'}</field>
<field name="help"></field>
</record>
<record id="lot_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": 'stock.production.lot'}</field>
<field name="help"></field>
</record>
<record id="lot_attribute_attribute_form_action" model="ir.actions.act_window">
<field name="name">Lot Attributes</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": 'stock.production.lot'}</field>
<field name="help"></field>
</record>
<menuitem
action="lot_attribute_set_form_action"
id="menu_lot_attribute_set_action"
parent="menu_lot_attribute_in_warehouse_config"
sequence="1"/>
<menuitem
action="lot_attribute_group_form_action"
id="menu_lot_attribute_group_action"
parent="menu_lot_attribute_in_warehouse_config"
sequence="2"/>
<menuitem
action="lot_attribute_attribute_form_action"
id="menu_lot_attribute_attribute_action"
parent="menu_lot_attribute_in_warehouse_config"
sequence="4"/>
</data>
</openerp>