From 149d9e14813b1147a80e58a1dcc48c7184fec6cd Mon Sep 17 00:00:00 2001 From: Mqdd Date: Thu, 5 Mar 2026 11:04:26 +0700 Subject: detail order get item from sku --- fixco_custom/models/detail_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixco_custom/models/detail_order.py b/fixco_custom/models/detail_order.py index af6b1ee..6cf291c 100755 --- a/fixco_custom/models/detail_order.py +++ b/fixco_custom/models/detail_order.py @@ -239,7 +239,7 @@ class DetailOrder(models.Model): product_quantities = {} for item in items: - key = item.get('masterSku') + key = item.get('sku') qty = item.get('quantity', 0) price = item.get('actualPrice', 0) -- cgit v1.2.3