summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-03-09 15:36:40 +0100
committerXavier Morel <xmo@openerp.com>2012-03-09 15:36:40 +0100
commit2c4898dc84b5874f72355d64ad918b6d9fdc159b (patch)
tree70a5b41891419f58ce209b82189c134cbd04da71 /addons/web/static/src
parent6501553263b4c6415a5824732581e27aaf3a0c4c (diff)
parent0df6b1bad7f4d12495a5c95cdbf7e3491e452a96 (diff)
[FIX] render statusbar as selection in listview
bzr revid: xmo@openerp.com-20120309143640-784m7dhyeg6cnrfm
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/formats.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/formats.js b/addons/web/static/src/js/formats.js
index c29df56bb30..53863e63e97 100644
--- a/addons/web/static/src/js/formats.js
+++ b/addons/web/static/src/js/formats.js
@@ -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]