From ea3010b049aef24de22e127722a2cc74604aa089 Mon Sep 17 00:00:00 2001 From: msh-openerp Date: Sat, 28 Apr 2012 14:02:59 +0530 Subject: [PATCH] [FIX]Fixed the issue of innerHTML not shown in progress tag. bzr revid: msh@tinyerp.com-20120428083259-o3h465c3t29h89ks --- addons/web/static/src/js/formats.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/web/static/src/js/formats.js b/addons/web/static/src/js/formats.js index 53863e63e97..c92212da6cb 100644 --- a/addons/web/static/src/js/formats.js +++ b/addons/web/static/src/js/formats.js @@ -333,9 +333,9 @@ openerp.web.format_cell = function (row_data, column, options) { href: download_url, size: row_data[column.id].value }); - case 'progressbar': - return _.template( - '<%-value%>%', { + case 'progressbar': + return _.template('
 
<%-value%>%
', + { value: _.str.sprintf("%.0f", row_data[column.id].value || 0) }); }