[6.1] purchase: changing a product uses wrong supplier info data
Bug #1048547 reported by
Niels Huylebroeck
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team | ||
OpenERP Community Backports (Addons) |
New
|
Undecided
|
Unassigned | ||
6.1 |
Fix Released
|
Medium
|
Yann Papouin |
Bug Description
Hi,
When entering purchase orders we get osv.except_osv raised because of some refactoring regression in the onchange_product_id function which mistakenly searches for the product_id in the table 'product.
If you are not using product variants the error will not be easily spotted.
Note that this bug seemed to have fallen between test scenarios ?
Regression occurred in :
<email address hidden>
Related branches
lp://staging/~openerp-dev/openobject-addons/6.1-opw-579011-rha
Ready for review
for merging
into
lp://staging/openobject-addons/6.1
- Naresh(OpenERP): Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedpurchase/purchase.py (+1/-1)
lp://staging/~yann-papouin/ocb-addons/6.1-bug-1048547-product-variant-supplierinfo-pricelist
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Approve
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 25 lines (+2/-2)2 files modifiedproduct/pricelist.py (+1/-1)
purchase/purchase.py (+1/-1)
description: | updated |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Attached is one way of solving the problem.