[FIX] Fixed group title for fields not present in fields view get
bzr revid: fme@openerp.com-20120816120215-owxw7756escw3zih
This commit is contained in:
parent
529a12921b
commit
790b508312
|
@ -423,7 +423,7 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({
|
||||||
this.value = this.value[0];
|
this.value = this.value[0];
|
||||||
}
|
}
|
||||||
var field = this.view.group_by_field;
|
var field = this.view.group_by_field;
|
||||||
if (field) {
|
if (!_.isEmpty(field)) {
|
||||||
try {
|
try {
|
||||||
this.title = instance.web.format_value(group.value, field, false);
|
this.title = instance.web.format_value(group.value, field, false);
|
||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
|
|
Loading…
Reference in New Issue