From 72cde28d560657a43d571c0dd5b1eafab5556cca Mon Sep 17 00:00:00 2001 From: Kevin Khao Date: Fri, 17 May 2024 06:03:54 +0300 Subject: [PATCH] change partner ordered - shipped to --- export_invoice_edi_auchan/schema/partner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/export_invoice_edi_auchan/schema/partner.py b/export_invoice_edi_auchan/schema/partner.py index 6acb3dff..77ced59b 100644 --- a/export_invoice_edi_auchan/schema/partner.py +++ b/export_invoice_edi_auchan/schema/partner.py @@ -9,8 +9,8 @@ class PARSegment(SegmentInterface): def get_values(self): return [ (3, "PAR"), - (13, self.invoice.partner_id.barcode), # Code EAN client - (35, self.invoice.partner_id.name, False), # Libellé client + (13, self.invoice.partner_shipping_id.barcode), # Code EAN client + (35, self.invoice.partner_shipping_id.name, False), # Libellé client ( 13, self.invoice.company_id.partner_id.barcode,