Use menu name for window opened from menu

issue9937
review315011002
This commit is contained in:
Cédric Krier
2021-02-09 00:32:17 +01:00
parent 2693aaf66d
commit eed4a0d2e2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">configuration_form</field>
</record>
<record model="ir.action.act_window" id="act_purchase_configuration_form">
<field name="name">Purchase Configuration</field>
<field name="name">Configuration</field>
<field name="res_model">purchase.configuration</field>
</record>
<record model="ir.action.act_window.view"
+2 -2
View File
@@ -23,7 +23,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="path">icons/tryton-purchase.svg</field>
</record>
<menuitem name="Purchase" id="menu_purchase" sequence="4" icon="tryton-purchase"/>
<menuitem name="Purchases" id="menu_purchase" sequence="4" icon="tryton-purchase"/>
<record model="ir.ui.menu-res.group" id="menu_purchase_group_purchase">
<field name="menu" ref="menu_purchase"/>
<field name="group" ref="group_purchase"/>
@@ -420,7 +420,7 @@ this repository contains the full copyright notices and license terms. -->
</record>
<record model="ir.action.act_window" id="act_product_supplier_form">
<field name="name">Product Suppliers</field>
<field name="name">Suppliers</field>
<field name="res_model">purchase.product_supplier</field>
</record>
<record model="ir.action.act_window.view"