Store Shopify order ID as web ID

This commit is contained in:
Cédric Krier committed 2025-02-27 00:18:07 +01:00
1 parent 5d8a013676
commit 453c79ff15
1 file changed
+1
+1
View File
@@ -62,6 +62,7 @@ class Sale(IdentifierMixin, metaclass=PoolMeta):
if not sale:
sale = shop.get_sale(party=party)
sale.web_id = str(order.id)
sale.shopify_identifier = order.id
assert sale.shopify_identifier == order.id
if order.location_id: