Commit ae3dbb0f by François C.

Merge branch 'ticket_99_affichage_selon_x_reception_status' into 'dev_cooperatic'

affichage uniquement des commandes avec x_reception_status à False, qty_valid,…

See merge request !33
parents 2727fc54 be1997da
Pipeline #1089 passed with stage
in 21 seconds
......@@ -34,7 +34,7 @@ class CagetteReception(models.Model):
f=["id","name","date_order", "partner_id", "date_planned", "amount_untaxed", "amount_total", "x_reception_status"]
# Only get orders that need to be treated in Reception
c = [['id', 'in', pids], ["x_reception_status", "in", [False, 'qty_valid', 'valid_pending', 'error_pack_op', 'uprice_valid']]]
c = [['id', 'in', pids], ["x_reception_status", "in", [False, 'qty_valid', 'valid_pending', 'br_valid']]]
orders = api.search_read('purchase.order', c, f)
except Exception as e:
......
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