diff --git a/pos_payment_terminal/README.rst b/pos_payment_terminal/README.rst index 7dc931f6..6c1c22da 100644 --- a/pos_payment_terminal/README.rst +++ b/pos_payment_terminal/README.rst @@ -20,6 +20,10 @@ This module is designed to be installed on the and old Sagem devices support the Telium protocol implemented in the *hw_telium_payment_terminal* module. +This module requires an up-to-date version of Odoo v8 that includes +`this pull request ` which was +merged in the *8.0* branch of Odoo on Github on July 2nd 2015. + Configuration ============= 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 2c154a62..39ae910f 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.config.currency_id[1])}); + .addEventListener('click', function(){self.pos.proxy.payment_terminal_transaction_start(line, self.pos.currency.name)}); } return el_node; },