diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index ae53592c37a..38af59009d8 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -867,8 +867,7 @@ class account_voucher(osv.osv): if amount_residual: # Change difference entry - exch_lines = self._get_exchange_lines(cr, uid, line, move_id, - amount_residual ,context) + exch_lines = self._get_exchange_lines(cr, uid, line, move_id, amount_residual, company_currency, current_currency, context=context) new_id = move_line_obj.create(cr, uid, exch_lines[0],context) move_line_obj.create(cr, uid, exch_lines[1], context) rec_ids.append(new_id)