[FIX] replace integer with float in validation
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Wed, 23 Oct 2013 11:36:52 +0000 (17:06 +0530)
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Wed, 23 Oct 2013 11:36:52 +0000 (17:06 +0530)
bzr revid: tpa@tinyerp.com-20131023113652-rj74krv1lecyp2xf

addons/web_kanban_gauge/static/src/js/kanban_gauge.js

index 60cbdf1..0d8a21e 100644 (file)
@@ -121,7 +121,7 @@ instance.web_kanban.GaugeWidget = instance.web_kanban.AbstractField.extend({
     },
 
     parse_client: function(value) {
-        return openerp.web.parse_value(value, { type:"integer" });
+        return openerp.web.parse_value(value, { type:"float" });
     },
 
 });