context not transmitted in price_get function call

Bug #709275 reported by Sam http://www.smile.fr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

Hi Tiny Team!

This may be not a bug, but, I think,it's just a forget. In fact in product/pricelist.py (line: 264) the context is not transmitted in
 product_obj.price_get function:

 product_obj.price_get(cr, uid, [product_id], price_type.field)[product_id]

 So the context values are inaccessible in new overwriten price_get function.

I hope the context will be transmitted in futur updates.

Thank you in advance

Samir RACHEDI
www.smile.fr

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Atik Agewan(OpenERP) (aag-openerp) wrote :

Hello sam,

Thanks for reporting,
It has been fixed in lp:~openerp-commiter/openobject-addons/trunk-addons-aag
Revision ID: <email address hidden>
Revision num: 5088.
It will be available in trunk soon,

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Sam http://www.smile.fr (samir-rachedi) wrote :

Hi Atik,

What about the version 6 (stable). will it be integrated soon ?

Thanks for your response

Samir RACHEDI
www.smile.fr

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed on stable 6.0.1 by revision 4407 <email address hidden>.
Thanks Sam , Atik and Rucha.

Changed in openobject-addons:
milestone: none → 6.0.2
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.