#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2022 etudesetchantiersidf
+# Copyright (C) 2014-2023 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
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)