[FIX} incorrect condition for not going into colors management on tree views
bzr revid: xmo@openerp.com-20111012111429-duldg0ko9wuq2zje
This commit is contained in:
parent
492facf3c5
commit
56fdc587af
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue