summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriyanka Kakadiya <pka@odoo.com>2018-03-28 10:46:20 +0530
committerThibault Delavallée <tde@odoo.com>2018-08-03 14:55:08 +0200
commit66d87a6e559b80ab39f6d30818fea6b96bbf1cf8 (patch)
tree9a1c852d7a91716caabe7c0887bb5db7a3adaea4
parentf5a96effb494404bcc33933666a1f9f8a801315d (diff)
[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.
-rw-r--r--addons/note/views/note_views.xml2
-rw-r--r--addons/purchase/views/purchase_views.xml2
-rw-r--r--odoo/addons/test_main_flows/static/src/js/tour.js2
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 @@
<menuitem
id="menu_note_notes"
- name="Notes"
+ name="Productivity"
sequence="3"
action="note.action_note_note"
web_icon="note,static/description/icon.png"/>
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 @@
<odoo>
<!-- Top menu item -->
- <menuitem name="Purchases"
+ <menuitem name="Purchase"
id="menu_purchase_root"
groups="group_purchase_manager,group_purchase_user"
web_icon="purchase,static/description/icon.png"
diff --git a/odoo/addons/test_main_flows/static/src/js/tour.js b/odoo/addons/test_main_flows/static/src/js/tour.js
index a976acf7fe3..8e049949267 100644
--- a/odoo/addons/test_main_flows/static/src/js/tour.js
+++ b/odoo/addons/test_main_flows/static/src/js/tour.js
@@ -451,7 +451,7 @@ tour.register('main_flow_tour', {
content: _t('Go back to the home menu'),
position: 'bottom',
}, {
- trigger: '.o_app > 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',
}, {