[IMP] improved the action_move_create method in invoice.py

bzr revid: bde@tinyerp.com-20110808055628-7aiob4fwey7kk5ne
This commit is contained in:
Bharat (OpenERP) 2011-08-08 11:26:28 +05:30
parent 4a3b8f91e6
commit 69f8228821
1 changed files with 1 additions and 1 deletions

View File

@ -865,7 +865,7 @@ class account_invoice(osv.osv):
ctx = {'date':inv.date_invoice}
if inv.currency_id.id != company_currency:
amount_currency = cur_obj.compute(cr, uid,
company_currency, inv.currency_id.id, t[1])
company_currency, inv.currency_id.id, t[1], context=ctx)
else:
amount_currency = False