From 47dc6b8927f772f76cdf21b0882e7c1593dc60cf Mon Sep 17 00:00:00 2001 From: mick Date: Wed, 12 Jun 2024 15:42:40 +0200 Subject: [PATCH] Only use partner_sku as identifier for stockrecord --- oscar_odin/mappings/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oscar_odin/mappings/constants.py b/oscar_odin/mappings/constants.py index 377b1ba..9793cc2 100644 --- a/oscar_odin/mappings/constants.py +++ b/oscar_odin/mappings/constants.py @@ -104,7 +104,7 @@ MODEL_IDENTIFIERS_MAPPING = { Category: ("code",), Product: ("upc",), - StockRecord: ("partner_id", "partner_sku"), + StockRecord: ("partner_sku",), ProductClass: ("slug",), ProductImage: ("code",), Partner: ("slug",),