diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 11d8de6f2b4..80921c6942f 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -1103,7 +1103,7 @@ class AccountMoveLine(models.Model): 'unit_amount': self.quantity, 'product_id': self.product_id and self.product_id.id or False, 'product_uom_id': self.product_uom_id and self.product_uom_id.id or False, - 'amount': self.company_currency_id.compute(amount, self.currency_id) if self.currency_id else amount, + 'amount': self.company_currency_id.with_context(date=self.date or fields.Date.context_today(self)).compute(amount, self.currency_id) if self.currency_id else amount, 'general_account_id': self.account_id.id, 'ref': self.ref, 'move_id': self.id,