[6.1] Purchase price with pricelist returns 0.0

Bug #1227176 reported by Oihane (Avanzosc)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Usually the product.product and the product.template have the same id, but in the case that they don't have when you make a purchase taking into account the supplier price, it returns 0.0

The problem is on module product, file pricelist.py, line 207. Instead of product_id it must have tmpl_id

Revision history for this message
Yann Papouin (yann-papouin) wrote :

A fix already exists based on an OPW but not released in stable
https://bugs.launchpad.net/openobject-addons/+bug/1104097

Revision history for this message
Yann Papouin (yann-papouin) wrote :

Oops, wrong link, this one is correct:
https://bugs.launchpad.net/openobject-addons/+bug/1048547

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.