diff --git a/pos_customer_display/static/src/js/customer_display.js b/pos_customer_display/static/src/js/customer_display.js index ad2a9d06..fd21fe07 100755 --- a/pos_customer_display/static/src/js/customer_display.js +++ b/pos_customer_display/static/src/js/customer_display.js @@ -88,9 +88,9 @@ openerp.pos_customer_display = function(instance){ //FIXME : this function is call twice. The first time, it is not called by prepare_text_customer_display : WHY ? // alert("In sent_text_customer_display " + line_length); if (data[0].length != line_length) - console.warn(data[0].length + " " + data[0]); + console.warn(data[0].length + " -> " + data[0]); if (data[1].length != line_length) - console.warn(data[1].length + " " + data[1]); + console.warn(data[1].length + " ->" + data[1]); if (data[0].length != line_length || data[1].length != line_length){ console.warn("Data components have to have " + line_length + " chars."); console.log(data[0].length + " -> "+ data[0] + "\n" + data[1].length + " -> " + data[1]); diff --git a/pos_payment_terminal/pos_payment_terminal_view.xml b/pos_payment_terminal/pos_payment_terminal_view.xml index e55d2a34..dbcca88c 100644 --- a/pos_payment_terminal/pos_payment_terminal_view.xml +++ b/pos_payment_terminal/pos_payment_terminal_view.xml @@ -21,5 +21,11 @@ + + 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 4281a9c0..9013da8d 100755 --- a/pos_payment_terminal/static/src/js/pos_payment_terminal.js +++ b/pos_payment_terminal/static/src/js/pos_payment_terminal.js @@ -7,7 +7,7 @@ openerp.pos_payment_terminal = function(instance){ 'currency_iso' : currency_iso, 'currency_iso_numeric' : currency_iso_numeric, 'payment_mode' : line.cashregister.journal.payment_mode}; - alert(JSON.stringify(data)); +// alert(JSON.stringify(data)); this.message('payment_terminal_transaction_start', {'payment_info' : JSON.stringify(data)}); }, }); diff --git a/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml b/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml index 8467a816..ce7459c4 100644 --- a/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml +++ b/pos_payment_terminal/static/src/xml/pos_payment_terminal.xml @@ -1,12 +1,13 @@ - +