From 23a5a6096fa653c14b3e6e8deb79a2ba97f88575 Mon Sep 17 00:00:00 2001 From: Kevin Khao Date: Tue, 7 May 2024 17:19:44 +0300 Subject: [PATCH] modify line start --- export_invoice_edi_auchan/models/account_move.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/export_invoice_edi_auchan/models/account_move.py b/export_invoice_edi_auchan/models/account_move.py index 99b415d4..5660dc07 100644 --- a/export_invoice_edi_auchan/models/account_move.py +++ b/export_invoice_edi_auchan/models/account_move.py @@ -66,13 +66,13 @@ def _prepare_export_data(self, idx): ) ) # segment ligne de fatcure - for idx, line in enumerate(self.invoice_line_ids, start=0): + for idx, line in enumerate(self.invoice_line_ids, start=1): res.append( self._render_segment( LIGSegment, { "line": line, - "line_num": idx, + "line_num": str(idx), }, ) )