← Back to team overview

openerp-india team mailing list archive

[Bug 932825] Re: compute_invoice_totals method of account.invoice loses context

 

Hello,

 It has been fixed on lp:~openerp-dev/openobject-addons/trunk-
bug-932825-rmu  branch with Following Revision Number and Revision ID.

Revision Number: 7013
Revision  ID: rmu@xxxxxxxxxxx-20120710120316-xo1sk1u3fq3fqt9i

This will soon merge with trunk

 Thank you!

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

-- 
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):
  Fix Committed

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