From 703223faf7002393f937e8afd7163563325cb49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 2 Apr 2025 17:29:47 +0200 Subject: [PATCH] Do not set more than the fulfillable quantity in Shopify fulfillment Closes #13956 --- modules/web_shop_shopify/stock.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/web_shop_shopify/stock.py b/modules/web_shop_shopify/stock.py index 25b1764d13..83df8523b4 100644 --- a/modules/web_shop_shopify/stock.py +++ b/modules/web_shop_shopify/stock.py @@ -155,7 +155,6 @@ class Move(metaclass=PoolMeta): for line_item in fulfillment_order.line_items: if line_item.line_item_id == identifier: qty = min(quantity, line_item.fulfillable_quantity) - qty = quantity yield fulfillment_order.id, { 'id': line_item.id, 'quantity': qty,