From d01308fb15dd9a35472f85ea22edfaf292601eb3 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 31 Jul 2023 20:38:45 +0200 Subject: [PATCH] accounting file --- wizard/accounting_file_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/accounting_file_wizard.py b/wizard/accounting_file_wizard.py index 4690186..cdee349 100644 --- a/wizard/accounting_file_wizard.py +++ b/wizard/accounting_file_wizard.py @@ -857,7 +857,7 @@ class AccountingFileWizard(models.TransientModel): if invoice.out_invoice_id: account_credit_number='170000' else: - account_credit_number='411000' + account_credit_number= self._payment_account_number(invoice) account_number=account_credit_number fic_line=self._accounting_line(no_mvt,date_line,account_number,lib,debit,credit,lib_piece) f.write(fic_line)