From cc1e3934fcb07ae89bf6810d3770723d902a2baa Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 30 Dec 2014 17:28:59 +0100 Subject: [PATCH] [FIX] Vicious bug that is invisible alone, but becomes visible when used with the module pos_pay_invoice --- pos_payment_terminal/static/src/js/pos_payment_terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pos_payment_terminal/static/src/js/pos_payment_terminal.js b/pos_payment_terminal/static/src/js/pos_payment_terminal.js index 419a0b20..f63f6f3e 100755 --- a/pos_payment_terminal/static/src/js/pos_payment_terminal.js +++ b/pos_payment_terminal/static/src/js/pos_payment_terminal.js @@ -16,7 +16,7 @@ openerp.pos_payment_terminal = function(instance){ var _super_PaymentScreenWidget_init_ = module.PaymentScreenWidget.prototype.init; module.PaymentScreenWidget.prototype.init = function(parent, options){ _super_PaymentScreenWidget_init_.call(this, parent, options); - self = this; + var self = this; this.payment_terminal_transaction_start = function(event){ var node = this; while (node && !node.classList.contains('paymentline')){