From 219fbc94bda53edd701634bed7aa3a8353592fe3 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Fri, 12 Jun 2015 12:28:05 +0200 Subject: [PATCH] FIX my previous commit: sent currency to POSbox --- 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 39ae910f..2c154a62 100755 --- a/pos_payment_terminal/static/src/js/pos_payment_terminal.js +++ b/pos_payment_terminal/static/src/js/pos_payment_terminal.js @@ -25,7 +25,7 @@ openerp.pos_payment_terminal = function(instance){ var self = this; if (line.cashregister.journal.payment_mode && this.pos.config.iface_payment_terminal){ el_node.querySelector('.payment-terminal-transaction-start') - .addEventListener('click', function(){self.pos.proxy.payment_terminal_transaction_start(line, self.pos.currency.name)}); + .addEventListener('click', function(){self.pos.proxy.payment_terminal_transaction_start(line, self.pos.config.currency_id[1])}); } return el_node; },