Added a comment about an issue with the logos

This commit is contained in:
Stéphane Bidoul
2014-04-18 12:09:08 +02:00
parent 63debfabf4
commit dbce9a72c8

View File

@@ -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',