← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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


Follow ups

References