summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2020-01-06 11:25:58 +0000
committerYannick Tivisse <yti@odoo.com>2020-01-06 11:25:58 +0000
commit46da3ea5b9e553bbc724ce9e7981cf0dee9cc648 (patch)
treef3d1ca95fd41183cd1e832bde884d99d5cc5bbd5 /addons
parentc71bdddafdd6469927d304f21df75fa0e3cb4655 (diff)
[IMP] membership: Improve configuration menuitems
PURPOSE ======= It is odd that the 'configuration' menu item on the 'Members' app does not unfold on configuration items like in all other apps. Even though there are only membership products to configure, the action should still have its dedicated menu item for consistency across modules. SPECIFICATION ============= 'Move' action membership.action_membership_products to a new 'Membership Products' menu item under 'Members/Configuration' closes odoo/odoo#42744 Taskid: 2167683 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/membership/views/product_views.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/membership/views/product_views.xml b/addons/membership/views/product_views.xml
index 8c63f5747d5..779f3e5b420 100644
--- a/addons/membership/views/product_views.xml
+++ b/addons/membership/views/product_views.xml
@@ -140,6 +140,8 @@
<menuitem name="Members" id="menu_association" sequence="15" web_icon="membership,static/description/icon.png"/>
<menuitem name="Configuration" id="menu_marketing_config_association"
- parent="menu_association" sequence="100" action="action_membership_products"/>
+ parent="menu_association" sequence="100"/>
+ <menuitem name="Membership Products" id="menu_membership_products" parent="menu_marketing_config_association"
+ action="action_membership_products"/>
</odoo>