product_visible_discount exception in orders after choosing a product

Bug #733143 reported by bruno bottacini
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

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

Related branches

description: updated
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello,

It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-733143-ksa
revno: 4514
revision-id: <email address hidden>

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Proposal rejected,
Fixed in lp:~openerp-dev/openobject-addons/trunk-bug-733143-rpa
Revno: 4531
Revision ID: <email address hidden>
Thanks for reporting

qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.