diff --git a/account_factoring_receivable_balance_eurofactor/models/subrogation_receipt.py b/account_factoring_receivable_balance_eurofactor/models/subrogation_receipt.py index 40d0766..1187358 100644 --- a/account_factoring_receivable_balance_eurofactor/models/subrogation_receipt.py +++ b/account_factoring_receivable_balance_eurofactor/models/subrogation_receipt.py @@ -137,7 +137,10 @@ def size(size, data, info=None): else pad(cut(move.invoice_origin, 10), 10, position="left"), "ref_f": pad(" ", 25), # autre ref facture "ref_a": pad( - cut(move.invoice_origin, 14) if p_type == "A" else " ", 14 + cut(move.invoice_origin, 14, position="left") + if p_type == "A" + else " ", + 14, ), # ref facture de l'avoir "blanc2": pad(" ", 51), # ref facture de l'avoir "blanc3": pad(" ", 3), # ref facture de l'avoir