openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13494
[Bug 932825] Re: compute_invoice_totals method of account.invoice loses context
** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-932825-rmu
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/932825
Title:
compute_invoice_totals method of account.invoice loses context
Status in OpenERP Addons (modules):
Confirmed
Bug description:
See
http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/6592/account/account_invoice.py#L739
'context' is not an argument of 'compute_invoice_totals' method.
As consequence, context values set by 'compute' method of 'res.currency' are lost.
I'm attaching patch with proposed solution.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/932825/+subscriptions
References