projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a3b8f9
)
[IMP] improved the action_move_create method in invoice.py
author
Bharat (OpenERP)
<bde@tinyerp.com>
Mon, 8 Aug 2011 05:56:28 +0000
(11:26 +0530)
committer
Bharat (OpenERP)
<bde@tinyerp.com>
Mon, 8 Aug 2011 05:56:28 +0000
(11:26 +0530)
bzr revid: bde@tinyerp.com-
20110808055628
-7aiob4fwey7kk5ne
addons/account/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/invoice.py
b/addons/account/invoice.py
index
cab9e48
..
95fb3ed
100644
(file)
--- 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