Commit 7aed7ac5 by François C.

Merge branch 'retouches_tickets_supercoop' of…

Merge branch 'retouches_tickets_supercoop' of gl.cooperatic.fr:cooperatic-foodcoops/third-party into retouches_tickets_supercoop
parents 8256a5f9 7e950377
Pipeline #2606 failed with stage
in 1 minute 27 seconds
...@@ -32,6 +32,7 @@ class CagetteReception(models.Model): ...@@ -32,6 +32,7 @@ class CagetteReception(models.Model):
pids = [] pids = []
if res and len(res) > 0: if res and len(res) > 0:
for r in res: for r in res:
if r['purchase_id']: # May be False
pids.append(int(r['purchase_id'][0])) pids.append(int(r['purchase_id'][0]))
if len(pids): if len(pids):
......
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