details: https://code.tryton.org/tryton/commit/c7a726c30416
branch: default
user: Cédric Krier <[email protected]>
date: Sun Oct 19 17:57:27 2025 +0200
description:
Use description used when exporting FEC file
Closes #14255
diffstat:
modules/account_fr/account.py | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diffs (26 lines):
diff -r c9e7bd3f3928 -r c7a726c30416 modules/account_fr/account.py
--- a/modules/account_fr/account.py Fri Oct 24 10:22:38 2025 +0200
+++ b/modules/account_fr/account.py Sun Oct 19 17:57:27 2025 +0200
@@ -256,13 +256,6 @@
])
def get_row(self, line, format_date, format_number):
- def description():
- value = line.move.description or ''
- if line.description:
- if value:
- value += ' - '
- value += line.description
- return value
end_date = self.start.fiscalyear.end_date
reconciliation = None
if line.reconciliation and line.reconciliation.date <= end_date:
@@ -278,7 +271,7 @@
line.party.name if line.party else '',
self.get_reference(line) or '-',
format_date(self.get_reference_date(line)),
- description() or '-',
+ line.description_used or '-',
format_number(line.debit or 0),
format_number(line.credit or 0),
reconciliation.rec_name if reconciliation else '',