pricelist base on supplierinfo based price list return zero
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:
here should add a partner_id parameter.
Related branches
- Yann Papouin (community): Approve (code & test)
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedproduct/pricelist.py (+1/-1)
- Holger Brunn (Therp): Approve (code review)
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 12 lines (+1/-1)1 file modifiedproduct/pricelist.py (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Medium |
status: | New → Confirmed |
This is the patch I use