Store Shopify order ID as web ID
This commit is contained in:
1 parent
5d8a013676
commit
453c79ff15
1 file changed
+1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user