compute_invoice_totals method of account.invoice loses context

Bug #932825 reported by Lorenzo Battistini on 2012-02-15
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

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.

Related branches

Lorenzo Battistini (elbati) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Ravish(OpenERP) (rmu-openerp) wrote :

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: <email address hidden>

This will soon merge with trunk

 Thank you!

Changed in openobject-addons:
status: Confirmed → Fix Committed
Anto (abourguignon) wrote :

Hello,

The fix has been released into the trunk: revno 7412. Thanks a lot.

Regards,
Anto.

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers