diff --git a/addons/point_of_sale/static/src/js/screens.js b/addons/point_of_sale/static/src/js/screens.js
index 5ab69194a2597c8c96eefbed450cb88693ea1c63..88fc705b820bc35e01a9e5fc033ed3679443f937 100644
--- a/addons/point_of_sale/static/src/js/screens.js
+++ b/addons/point_of_sale/static/src/js/screens.js
@@ -1480,7 +1480,7 @@ var PaymentScreenWidget = ScreenWidget.extend({
 
         this.inputbuffer = "";
         this.firstinput  = true;
-            this.decimal_point = instance.web._t.database.parameters.decimal_point;
+        this.decimal_point = _t.database.parameters.decimal_point;
         
         // This is a keydown handler that prevents backspace from
         // doing a back navigation
diff --git a/addons/point_of_sale/static/src/js/widget_base.js b/addons/point_of_sale/static/src/js/widget_base.js
index f051695df96f7b53373f34841795355cd2cae1f2..7cdac2a5c835d97e8bd194b570495dd276097bbc 100644
--- a/addons/point_of_sale/static/src/js/widget_base.js
+++ b/addons/point_of_sale/static/src/js/widget_base.js
@@ -1,6 +1,7 @@
 odoo.define('point_of_sale.BaseWidget', function (require) {
 "use strict";
 
+var formats = require('web.formats');
 var utils = require('web.utils');
 var Widget = require('web.Widget');
 
@@ -50,7 +51,7 @@ var PosBaseWidget = Widget.extend({
 
         if (typeof amount === 'number') {
             amount = round_di(amount,decimals).toFixed(decimals);
-                amount = openerp.instances[this.session.name].web.format_value(parseFloat(amount), { type : 'float' });
+            amount = formats.format_value(parseFloat(amount), { type : 'float' });
         }
 
         return amount;