diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 0f943b6c995..66442cf3b12 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -256,7 +256,7 @@ class account_invoice(osv.osv): if inv['currency_id'] != company_currency: i['currency_id'] = inv['currency_id'] i['amount_currency'] = i['price'] - i['price'] = self.pool.get('res.currency').compute(cr, uid, inv['currency_id'], company_currency, i['price']) + i['price'] = self.pool.get('res.currency').compute(cr, uid, inv['currency_id'], company_currency, i['price'], context={'date': inv['date_invoice']}) else: i['amount_currency'] = False i['currency_id'] = False