From 66d87a6e559b80ab39f6d30818fea6b96bbf1cf8 Mon Sep 17 00:00:00 2001 From: Priyanka Kakadiya Date: Wed, 28 Mar 2018 10:46:20 +0530 Subject: [PATCH] [IMP] note, purchase: rename main menu name This commit renames main menu name same as module name in order to be less confusing to users. This implies a small fix in test main flow because it is based on the menu name. This commit is related to task ID 47179 and PR #22689. --- addons/note/views/note_views.xml | 2 +- addons/purchase/views/purchase_views.xml | 2 +- odoo/addons/test_main_flows/static/src/js/tour.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/note/views/note_views.xml b/addons/note/views/note_views.xml index 1eb10da652c..a3b12a975f1 100644 --- a/addons/note/views/note_views.xml +++ b/addons/note/views/note_views.xml @@ -224,7 +224,7 @@ diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml index b815f3438f6..aa6999a8032 100644 --- a/addons/purchase/views/purchase_views.xml +++ b/addons/purchase/views/purchase_views.xml @@ -2,7 +2,7 @@ - div:contains("Purchases"), .oe_menu_toggler:contains("Purchases")', + trigger: '.o_app > div:contains("Purchase"), .oe_menu_toggler:contains("Purchase")', content: _t('Go to Purchase'), position: 'bottom', }, {