Merge PR #560 into 15.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2023-06-27 06:44:42 +00:00

View File

@@ -1050,7 +1050,7 @@ class AccountReconciliation(models.AbstractModel):
"date": format_date(self.env, st_line.date),
"amount": amount,
"amount_str": amount_str, # Amount in the statement line currency
"currency_id": st_line_currency.id, # Currency according to statement line
"currency_id": (st_line.currency_id or statement_currency).id,
"partner_id": st_line.partner_id.id,
"journal_id": st_line.journal_id.id,
"statement_id": st_line.statement_id.id,