pricelist base on supplierinfo based price list return zero

Bug #1104097 reported by 开阖软件 Jeff Wang
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 2
OpenERP Community Backports (Addons)
Status tracked in 7.0
6.1
Fix Released
Medium
Yann Papouin
7.0
New
Undecided
Unassigned

Bug Description

Let me try to explain:

create a pricelist PL_A, base on "Partner section of the product form"

create another pricelist PL_B, base on "other price list" and other pricelist "PL_A"

set a product P1 with a supplier information, set the price as 10

create a new quotation useing pricelist PL_A, create a order line by input product P1, the unit price will be populate as 10

create a new quotation useing pricelist PL_B, create a order line by input product P1, the unit price will be populate as 0

this behavior caused by a code error in product module, pricelist.py file, medthod price_get_multi:

                                price_tmp = self.price_get(cr, uid,
                                        [res['base_pricelist_id']], product_id,
                                        qty, context=context)[res['base_pricelist_id']]

here should add a partner_id parameter.

Related branches

Revision history for this message
开阖软件 Jeff Wang (jeff.osbzr.com) wrote :

This is the patch I use

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Hiral Patel (OpenERP) (hip-openerp) wrote :

Hello,

           It has been Fixed https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1104097-hip
           Revno: 8518
           Revision ID: <email address hidden>

Thanks,
hip

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

Other bug subscribers

Related questions

Remote bug watches

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