From dbce9a72c841c3dcab75e5908fe017931bd392a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 18 Apr 2014 12:09:08 +0200 Subject: [PATCH] Added a comment about an issue with the logos --- web_easy_switch_company/static/src/js/switch_company.js | 3 +++ 1 file changed, 3 insertions(+) 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',