← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 715682] Re: Prices are not correctly returned by price_get_multi method from product\pricelist.py

 

Hello,

I have checked the issue and it seems right with the current code as we
find the unique value from the list which we have passed in the query of
price_get_multi method. If you are check with it again by putting the
product_id instead both will have the same outcome.

If you want to check this simply print the both the variables, it will
give you the same values. Hope you will agree with this and for now I am
closing this bug.

Thanks for your participation.

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

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

Title:
  Prices are not correctly returned by price_get_multi method from
  product\pricelist.py

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  The problem is on the line: (tmpl_id, product_id, plversion_ids[0],
  qty))

  The code returns for all the pricelist versions the price from the
  first pricelist version.

  To correct the error you must modify the line like this:(tmpl_id,
  product_id, pricelist_id, qty))



References