summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-07-13 16:26:52 +0200
committerqsm-odoo <qsm@odoo.com>2017-07-13 18:19:52 +0200
commit110c895368034ac58a286706f858c9aaba1f7656 (patch)
tree32715b0c156861435331e7a9c4d5b2d9c9fb4a44 /addons/web/static/src/xml/base.xml
parentca82c77d48f88ea4de708fcbc8dedfde30e30269 (diff)
[FIX] web: move 'SwitchCompanyMenu' xml in the right file
Since commit https://github.com/odoo/odoo/commit/09659cca30a98dd9a522c53918e389e0d8f667eb: The switch company menu feature has been introduced, which is a backend one. The associated static XML was placed in the common xml file by mistake.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index fedc3892ed4..9d4b3326c22 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1257,6 +1257,15 @@
</li>
</t>
+<t t-name="SwitchCompanyMenu">
+ <li class="o_switch_company_menu">
+ <a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" href="#">
+ <span t-attf-class="#{widget.isMobile ? 'fa fa-building-o' : 'oe_topbar_name'}"/> <span class="caret"/>
+ </a>
+ <ul class="dropdown-menu" role="menu"/>
+ </li>
+</t>
+
<t t-name="EnterpriseUpgrade">
<div class="row">
<div class="col-xs-6">