← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 733143] Re: product_visible_discount exception in orders after choosing a product

 

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

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

Title:
  product_visible_discount exception in orders after choosing a product

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  on a new openerp 6.01 installation install sale and
  product_visible_discount modules. create a new pricelist a new
  pricelist version and a new pricelist item. save. now delete the
  pricelist item and create another one (the new item have new id).  now
  in a sale order if i select my custom pricelist and in a new row i
  select a product i obtain the exception.

  the problem is in product_visible_discount.py row code 55
                  item_base = item_obj.read(cr, uid, [item], ['base'])[0]['base']
  the [item] i pass is pricelist id but it should be pricelist item id

  os is ubuntu 10.10 64



References