details:   https://code.tryton.org/tryton/commit/a17539fe2e59
branch:    default
user:      Cédric Krier <[email protected]>
date:      Mon Sep 29 11:21:39 2025 +0200
description:
        Limit of shopify_orders context to test

        Closes #14260
diffstat:

 modules/web_shop_shopify/web.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e477105c3979 -r a17539fe2e59 modules/web_shop_shopify/web.py
--- a/modules/web_shop_shopify/web.py   Wed Oct 01 18:48:11 2025 +0200
+++ b/modules/web_shop_shopify/web.py   Mon Sep 29 11:21:39 2025 +0200
@@ -494,7 +494,7 @@
             else:
                 last_order_id = ''
             with shop.shopify_session():
-                if 'shopify_orders' in context:
+                if pool.test and 'shopify_orders' in context:
                     orders = shopify.Order.find(
                         ids=context['shopify_orders'],
                         limit=250, no_iter_next=False)

Reply via email to