Skip to content

Commit

Permalink
Only use partner_sku as identifier for stockrecord
Browse files Browse the repository at this point in the history
  • Loading branch information
mick committed Jun 12, 2024
1 parent 4772ac6 commit 47dc6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscar_odin/mappings/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",),
Expand Down

0 comments on commit 47dc6b8

Please sign in to comment.