From 69f82288218c4c23b7d33e54ef4fb94d6c8c8da4 Mon Sep 17 00:00:00 2001 From: "Bharat (OpenERP)" Date: Mon, 8 Aug 2011 11:26:28 +0530 Subject: [PATCH] [IMP] improved the action_move_create method in invoice.py bzr revid: bde@tinyerp.com-20110808055628-7aiob4fwey7kk5ne --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index cab9e481d8d..95fb3ede6ca 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -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