Browse Source

[COSM] removing print lines

pull/27/merge
houssine 7 years ago
parent
commit
1f947e4536
  1. 4
      beesdoo_pos_remove_0_qty/models/pos_order.py

4
beesdoo_pos_remove_0_qty/models/pos_order.py

@ -9,11 +9,7 @@ class PosOrder(models.Model):
@api.model @api.model
def _process_order(self, order): def _process_order(self, order):
print order
print order['lines']
lines = order['lines'] lines = order['lines']
order['lines'] = [l for l in lines if l[2]['qty'] !=0] order['lines'] = [l for l in lines if l[2]['qty'] !=0]
print order['lines']
print order
return super(PosOrder, self)._process_order(order) return super(PosOrder, self)._process_order(order)
Loading…
Cancel
Save