[FIX] render statusbar as selection in listview

bzr revid: xmo@openerp.com-20120309143640-784m7dhyeg6cnrfm
This commit is contained in:
Xavier Morel 2012-03-09 15:36:40 +01:00
commit 2c4898dc84
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ openerp.web.format_value = function (value, descriptor, value_if_empty) {
if (typeof(value) == "string")
value = openerp.web.auto_str_to_date(value);
return value.toString(normalize_format(l10n.time_format));
case 'selection':
case 'selection': case 'statusbar':
// Each choice is [value, label]
if(_.isArray(value)) {
value = value[0]