diff --git a/addons/purchase/models/account_invoice.py b/addons/purchase/models/account_invoice.py index e9d601ee9f7..4ac0a3a4156 100644 --- a/addons/purchase/models/account_invoice.py +++ b/addons/purchase/models/account_invoice.py @@ -146,6 +146,8 @@ class AccountInvoice(models.Model): self.journal_id = default_journal_id if self.env.context.get('default_currency_id'): self.currency_id = self.env.context['default_currency_id'] + if self.partner_id.property_purchase_currency_id: + self.currency_id = self.partner_id.property_purchase_currency_id return res @api.model