[FIX] Fixed group title for fields not present in fields view get

bzr revid: fme@openerp.com-20120816120215-owxw7756escw3zih
This commit is contained in:
Fabien Meghazi 2012-08-16 14:02:15 +02:00
parent 529a12921b
commit 790b508312
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ instance.web_kanban.KanbanGroup = instance.web.Widget.extend({
this.value = this.value[0];
}
var field = this.view.group_by_field;
if (field) {
if (!_.isEmpty(field)) {
try {
this.title = instance.web.format_value(group.value, field, false);
} catch(e) {}