diff options
| -rw-r--r-- | fixco_custom/models/upload_ginee.py | 6 |
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), }] } |
