[FIX] account_financial_report: reconcile name in general ledger

This commit is contained in:
Benoît
2025-02-07 21:43:42 +01:00
parent 26fb263f2d
commit ec48da499a

View File

@@ -341,7 +341,7 @@ class GeneralLedgerReport(models.AbstractModel):
"rec_id": move_line["full_reconcile_id"][0]
if move_line["full_reconcile_id"]
else False,
"rec_name": move_line["full_reconcile_id"][1]
"rec_name": move_line["matching_number"]
if move_line["full_reconcile_id"]
else "",
"currency_id": move_line["currency_id"],
@@ -491,7 +491,7 @@ class GeneralLedgerReport(models.AbstractModel):
{
rec_id: {
"id": rec_id,
"name": move_line["full_reconcile_id"][1],
"name": move_line["matching_number"],
}
}
)
@@ -941,4 +941,5 @@ class GeneralLedgerReport(models.AbstractModel):
"balance",
"tax_ids",
"move_name",
"matching_number",
]