← Back to team overview

openerp-india team mailing list archive

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

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

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