c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19097
[Bug 733143] Re: product_visible_discount exception in orders after choosing a product
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
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):
Confirmed
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