Partner Section price not working when using product templates
Bug #997898 reported by
Jose Patricio Villarreal
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
Price List price_get_multi looks for product_id insted of tmpl_id for partener section.
1) Make a purchase order
2) Select a parnter
3)Select a price list that has on it's highest sequence the option Partner section of the product form.
3) select a product, make sure that the product has a supplier price (obvious the same as the parnter selected)
This will work, but if you are using product templates, the query on pricelist.py on the function price_get_multi looks for product_id insted of product templates, and on the product supplier info table is routed to product_template.
find my patch attached...
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-997898-amp
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedproduct/pricelist.py (+1/-1)
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Other option will be changing the supplier product field to product product instead of product template