summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-01-26 09:19:23 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-01-26 09:19:23 +0700
commita9ac4073cf6c42f59973c4f0c3ce730464dd41ec (patch)
treed2a8473d420bfcec58adfa7abd32c4ad91d00d93
parentd56813656ed4e8e98b5a52c1a447c60ff7ee2eae (diff)
<Miqdad> fix list error upload ginee
-rw-r--r--fixco_custom/models/upload_ginee.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/fixco_custom/models/upload_ginee.py b/fixco_custom/models/upload_ginee.py
index 19aa965..e86a175 100644
--- a/fixco_custom/models/upload_ginee.py
+++ b/fixco_custom/models/upload_ginee.py
@@ -241,8 +241,10 @@ class UploadGineeLine(models.Model):
'data': [{
**base_order,
'items': combined_items,
- 'externalOrderId': ', '.join(lines.mapped('invoice_marketplace')),
- 'orderId': ', '.join(order_ids),
+ # 'externalOrderId': ', '.join(lines.mapped('invoice_marketplace')),
+ # 'orderId': ', '.join(order_ids),
+ 'externalOrderId': ', '.join(l.invoice_marketplace for l in lines),
+ 'orderId': ', '.join(l.order_id for l in lines),
}]
}