[FIX} incorrect condition for not going into colors management on tree views

bzr revid: xmo@openerp.com-20111012111429-duldg0ko9wuq2zje
This commit is contained in:
Xavier Morel 2011-10-12 13:14:29 +02:00
parent 492facf3c5
commit 56fdc587af
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ openerp.web.TreeView = openerp.web.View.extend(/** @lends openerp.web.TreeView#
}
});
if (this.fields_view.arch.attrs.colors) {
if (!this.fields_view.arch.attrs.colors) {
return;
}
this.colors = _(this.fields_view.arch.attrs.colors.split(';')).chain()