Follow common rule to organize menu entries

issue10118
review347611002
This commit is contained in:
Cédric Krier
2021-02-27 18:16:28 +01:00
parent fbe5e80080
commit 2ef2cefa96
+18 -7
View File
@@ -48,8 +48,11 @@ this repository contains the full copyright notices and license terms. -->
<field name="view" ref="work_center_view_form"/>
<field name="act_window" ref="act_work_center_tree"/>
</record>
<menuitem parent="production.menu_configuration" sequence="40"
action="act_work_center_tree" id="menu_work_center_tree"/>
<menuitem
parent="production.menu_configuration"
action="act_work_center_tree"
sequence="50"
id="menu_work_center_tree"/>
<record model="ir.action.act_window" id="act_work_center_list">
<field name="name">Work Centers</field>
@@ -67,8 +70,11 @@ this repository contains the full copyright notices and license terms. -->
<field name="view" ref="work_center_view_form"/>
<field name="act_window" ref="act_work_center_list"/>
</record>
<menuitem parent="menu_work_center_tree" sequence="10"
action="act_work_center_list" id="menu_work_center_list"/>
<menuitem
parent="menu_work_center_tree"
action="act_work_center_list"
sequence="10"
id="menu_work_center_list"/>
<record model="ir.model.access" id="access_work_center">
<field name="model"
@@ -129,8 +135,10 @@ this repository contains the full copyright notices and license terms. -->
<field name="view" ref="work_center_category_view_form"/>
<field name="act_window" ref="act_work_center_category_list"/>
</record>
<menuitem parent="production.menu_configuration" sequence="30"
<menuitem
parent="production.menu_configuration"
action="act_work_center_category_list"
sequence="50"
id="menu_work_center_category_list"/>
<record model="ir.model.access" id="access_work_center_category">
@@ -221,8 +229,11 @@ this repository contains the full copyright notices and license terms. -->
<field name="sequence" eval="9999"/>
<field name="act_window" ref="act_work_list"/>
</record>
<menuitem parent="production.menu_production" sequence="20"
action="act_work_list" id="menu_work_list"/>
<menuitem
parent="production.menu_production"
action="act_work_list"
sequence="20"
id="menu_work_list"/>
<record model="ir.model.access" id="access_work">
<field name="model" search="[('model', '=', 'production.work')]"/>