Commit b83db634 by Damien Moulard

remove remaining python print()

parent 591d32cd
Pipeline #1226 passed with stage
in 1 minute 22 seconds
...@@ -37,7 +37,6 @@ class CagetteReception(models.Model): ...@@ -37,7 +37,6 @@ class CagetteReception(models.Model):
c = [['id', 'in', pids], ["x_reception_status", "in", [False, 'qty_valid', 'valid_pending', 'br_valid']]] c = [['id', 'in', pids], ["x_reception_status", "in", [False, 'qty_valid', 'valid_pending', 'br_valid']]]
orders = api.search_read('purchase.order', c, f) orders = api.search_read('purchase.order', c, f)
print(orders)
except Exception as e: except Exception as e:
print(str(e)) print(str(e))
return orders return orders
......
...@@ -170,7 +170,6 @@ def update_orders(request): ...@@ -170,7 +170,6 @@ def update_orders(request):
m = CagetteReception(order_id) m = CagetteReception(order_id)
try: try:
for order_line in order['po']: for order_line in order['po']:
print(order_line)
if order_line['indicative_package'] is False: if order_line['indicative_package'] is False:
m.remove_package_restriction(order_line) m.remove_package_restriction(order_line)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment