Browse Source

Remove some console.log for debug

pull/30/head
Alexis de Lattre 10 years ago
parent
commit
a6498860b1
  1. 2
      pos_customer_display/static/src/js/customer_display.js

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

@ -234,11 +234,9 @@ openerp.pos_customer_display = function(instance){
'Show total to customer' */
module.OrderWidget.include({
update_summary: function(){
console.log('MY update_summary');
this._super();
var self = this;
if (this.pos.config.iface_customer_display){
console.log('.addEventListener');
this.el.querySelector('.show-total-to-customer')
.removeEventListener('click', function(){self.pos.prepare_text_customer_display('addPaymentline', {})});
this.el.querySelector('.show-total-to-customer')

Loading…
Cancel
Save