diff --git a/account_fiscal_year_closing/models/account_fiscalyear_closing.py b/account_fiscal_year_closing/models/account_fiscalyear_closing.py index 3393971387e..3a698804f58 100644 --- a/account_fiscal_year_closing/models/account_fiscalyear_closing.py +++ b/account_fiscal_year_closing/models/account_fiscalyear_closing.py @@ -604,6 +604,16 @@ def move_line_prepare(self, account, account_lines, partner_id=False): "date": date, "partner_id": partner_id, } + if ( + account.currency_id + and account.currency_id + != self.fyc_config_id.fyc_id.company_id.currency_id + ): + move_line.update( + currency_id=account.currency_id.id, + amount_currency=sum(account_lines.mapped("amount_currency")) + * -1, + ) else: balance = 0 return balance, move_line