Merge PR #1260 into 16.0

Signed-off-by pedrobaeza
pull/1265/head
OCA-git-bot 2024-12-03 11:44:20 +00:00
commit bd281c8097
1 changed files with 1 additions and 0 deletions

View File

@ -863,6 +863,7 @@ class GeneralLedgerReport(models.AbstractModel):
fin_bal_currency_ids = []
fin_bal_currency_id = gl_item["currency_id"]
if gl_item["currency_id"] or not foreign_currency:
gl_item["fin_bal_currency_id"] = fin_bal_currency_id
continue
gl_item["fin_bal"]["bal_curr"] = gl_item["init_bal"]["bal_curr"]
if "move_lines" in gl_item: