diff --git a/web_easy_switch_company/static/src/js/switch_company.js b/web_easy_switch_company/static/src/js/switch_company.js index 0c854e9a..fd25d200 100644 --- a/web_easy_switch_company/static/src/js/switch_company.js +++ b/web_easy_switch_company/static/src/js/switch_company.js @@ -106,6 +106,9 @@ openerp.web_easy_switch_company = function (instance) { var res_company = res.fields.company_id.selection; for ( var i=0 ; i < res_company.length; i++) { var logo_topbar, logo_state; + // TODO: fetching the logo of other companies fails with the + // default res.company record rule, so we should + // probably remove the logos from the menu :( logo_topbar = self.session.url( '/web/binary/image', { model:'res.company',