summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-03-04 09:56:40 +0000
committerAaron Bohy <aab@odoo.com>2020-03-04 09:56:40 +0000
commit1af097db51269b31cc2ff80a5bdb02cc83849af8 (patch)
treef9e777e821f9db7f4f0f1b919588e83ada18e8d9 /addons/web/static/src/js/widgets
parentf159608e02faa45be31b022508db857990521557 (diff)
[IMP] web: display CompanySwitcher next to UserMenu
Task 2186309 closes odoo/odoo#45169 Related: odoo/enterprise#8376 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/widgets')
-rw-r--r--addons/web/static/src/js/widgets/switch_company_menu.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/js/widgets/switch_company_menu.js b/addons/web/static/src/js/widgets/switch_company_menu.js
index 75bc918768b..b8fef0526aa 100644
--- a/addons/web/static/src/js/widgets/switch_company_menu.js
+++ b/addons/web/static/src/js/widgets/switch_company_menu.js
@@ -21,6 +21,8 @@ var SwitchCompanyMenu = Widget.extend({
'click .dropdown-item[data-menu] div.log_into': '_onSwitchCompanyClick',
'click .dropdown-item[data-menu] div.toggle_company': '_onToggleCompanyClick',
},
+ // force this item to be the first one to the left of the UserMenu in the systray
+ sequence: 1,
/**
* @override
*/