c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19263
[Bug 733143] Re: product_visible_discount exception in orders after choosing a product
Proposal rejected,
Fixed in lp:~openerp-dev/openobject-addons/trunk-bug-733143-rpa
Revno: 4531
Revision ID: rpa@xxxxxxxxxxx-20110314131151-9boylr4mb0dde141
Thanks for reporting
--
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):
Fix Committed
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