From e1a8e3f2145c5101553807791b61fd4a53dcecb5 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')){