← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 709275] Re: context not transmitted in price_get function call

 

Hello sam,

Thanks for reporting,
It has been fixed in lp:~openerp-commiter/openobject-addons/trunk-addons-aag
Revision ID: aag@xxxxxxxxxxxxx-20110208110412-02ypx3gk0i1o2uxx
Revision num: 5088.  
It will be available in trunk soon,

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/709275

Title:
  context not transmitted in price_get function call

Status in OpenERP Modules (addons):
  Fix Committed

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





References