X-Git-Url: http://git.cyclocoop.org/?p=burette%2Fetudesetchantiersidf.git;a=blobdiff_plain;f=wizard%2Faccount_export_csv.py;h=bcd82e996c7c64500250cafceb712295fa9c2553;hp=ed42a8e1204ed51df0d0683abf7cb88a5f063b2b;hb=HEAD;hpb=597e4b51f2523a68bed9d6b15bc16f0a97d70c0b diff --git a/wizard/account_export_csv.py b/wizard/account_export_csv.py index ed42a8e..bcd82e9 100644 --- a/wizard/account_export_csv.py +++ b/wizard/account_export_csv.py @@ -3,7 +3,7 @@ # # etudesetchantiersidf module for OpenERP, Custom module for Étude et # Chantiers île-de-France -# Copyright (C) 2014-2022 etudesetchantiersidf +# Copyright (C) 2014-2023 etudesetchantiersidf # () # # This file is a part of etudesetchantiersidf @@ -193,7 +193,7 @@ class AccountCSVExport(osv.osv_memory): cr, uid, account.user_type.id, context=context) if account_type.code in ("expense", "income"): dico['general_analytic'] = "A" - dico['analytic_account'] = journal.code[3:] + dico['analytic_account'] = journal.code[2:] if dico['debit']: row = self.format_row_sage(dico, numero_piece, "D") rows.append(row)