Browse Source

FIX Adapt JS code to recent changes in the code of POS v8

Update module description with my recent tests with new hardware
pull/437/head
Alexis de Lattre 10 years ago
committed by Sylvain LE GAL
parent
commit
475693749e
  1. 2
      pos_customer_display/static/src/js/customer_display.js

2
pos_customer_display/static/src/js/customer_display.js

@ -22,7 +22,7 @@ openerp.pos_customer_display = function(instance){
var l21 = line.get_quantity_str_with_unit() + ' x ' + price_unit; var l21 = line.get_quantity_str_with_unit() + ' x ' + price_unit;
var l22 = ' ' + line.get_display_price().toFixed(currency_rounding); var l22 = ' ' + line.get_display_price().toFixed(currency_rounding);
var lines_to_send = new Array( var lines_to_send = new Array(
this.proxy.complete_string_right(line.get_product().name, line_length),
this.proxy.complete_string_right(line.get_product().display_name, line_length),
this.proxy.complete_string_right(l21, line_length - l22.length) + l22 this.proxy.complete_string_right(l21, line_length - l22.length) + l22
); );
} else if (type == 'removeOrderline') { } else if (type == 'removeOrderline') {

Loading…
Cancel
Save