Browse Source

Merge pull request #37 from akretion/8.0-payment-terminal-bug-36

8.0 pos_payment_terminal : fix bug #36
pull/41/head
Sylvain LE GAL 10 years ago
parent
commit
e5138b3595
  1. 4
      pos_payment_terminal/README.rst
  2. 2
      pos_payment_terminal/static/src/js/pos_payment_terminal.js

4
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 <https://github.com/odoo/odoo/pull/7367>` which was
merged in the *8.0* branch of Odoo on Github on July 2nd 2015.
Configuration
=============

2
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;
},

Loading…
Cancel
Save