← Back to team overview

openerp-india team mailing list archive

[Bug 1285195] [NEW] product.pricelist price_get returns wrong item_id

 

Public bug reported:

If a product has a price of zero by a certain pricelist, the function
price_get of product.pricelist returns the wrong item_id.

This is because line 312 of product/pricelist.py "if price" should be
"if price is not False" instead. Because of the wrong condition, the
item_id gets not propagated correctly from price_get_multi

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1285195

Title:
  product.pricelist price_get returns wrong item_id

Status in OpenERP Addons (modules):
  New

Bug description:
  If a product has a price of zero by a certain pricelist, the function
  price_get of product.pricelist returns the wrong item_id.

  This is because line 312 of product/pricelist.py "if price" should be
  "if price is not False" instead. Because of the wrong condition, the
  item_id gets not propagated correctly from price_get_multi

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1285195/+subscriptions


Follow ups

References