summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-03-05 11:04:26 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-03-05 11:04:26 +0700
commit149d9e14813b1147a80e58a1dcc48c7184fec6cd (patch)
treee65acc7ef016cfee75afc99d09c097164dac3896
parent68ec13f1520690382b05647a2a708a18ddc1defa (diff)
<Miqdad> detail order get item from sku
-rwxr-xr-xfixco_custom/models/detail_order.py2
1 files changed, 1 insertions, 1 deletions
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)