← Back to team overview

openerp-india team mailing list archive

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

 

** Patch added: "context_compute_invoice_totals.patch"
   https://bugs.launchpad.net/bugs/932825/+attachment/2742443/+files/context_compute_invoice_totals.patch

-- 
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):
  New

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