Do not refund the non-movable lines to Shopify

Closes #14209
This commit is contained in:
Cédric Krier
2025-08-29 15:01:23 +02:00
parent 5fbfae5a7b
commit 2282f46118
+2 -1
View File
@@ -293,7 +293,8 @@ class Sale(IdentifierMixin, metaclass=PoolMeta):
location_id = shop_warehouse.shopify_id
for line in self.lines:
if (line.type != 'line'
or not line.shopify_identifier):
or not line.shopify_identifier
or not line.movable):
continue
fulfillable_quantity = fulfillable_quantities.get(
line.shopify_identifier, 0)