compute_invoice_totals method of account.invoice loses context

Bug #932825 reported by Lorenzo Battistini
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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.