From 5fa8cdd3053109269cb4148ab9ca1be984e900d5 Mon Sep 17 00:00:00 2001 From: Vidhin Mehta Date: Thu, 23 May 2013 12:48:14 +0530 Subject: [PATCH] bzr revid: vme@tinyerp.com-20130523071814-o5suitn0hcy12mie --- addons/point_of_sale/static/src/js/widgets.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/js/widgets.js b/addons/point_of_sale/static/src/js/widgets.js index 1b65110813c..a533f0a8ee6 100644 --- a/addons/point_of_sale/static/src/js/widgets.js +++ b/addons/point_of_sale/static/src/js/widgets.js @@ -319,7 +319,7 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa this.payment_line.set_amount(amount); } }, - checkAmount:function(e){ + checkAmount: function(e){ if (e.which !== 0 && e.charCode !== 0) { if(isNaN(String.fromCharCode(e.charCode))){ return (String.fromCharCode(e.charCode) === "." && e.currentTarget.value.toString().split(".").length < 2)?true:false; @@ -1115,4 +1115,3 @@ function openerp_pos_widgets(instance, module){ //module is instance.point_of_sa } }); } -