summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data_model.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2017-01-13 11:14:03 +0100
committerNicolas Martinelli <nim@odoo.com>2017-01-13 13:25:00 +0100
commit11e99a0b53fe6c5f9dd04c22d4cb9b800cbb2f1d (patch)
tree5ad33f5b3eafc9eeaf1b7ae3100e42bb926a9ced /addons/web/static/src/js/framework/data_model.js
parent360978248171600eb6f3fb86698e43705960da7d (diff)
[FIX] product_extended: compute from BoM
When a product template UoM is different from its BoM UoM, the price suggested thanks to the "Compute from BoM" is incorrect, since it doesn't apply the conversion rate between the product template UoM and the BoM UoM. This is because we try to fetch the product UoM through the BoM. However, if the BoM is not specific to a product.product, the field bom.product_id is empty.
Diffstat (limited to 'addons/web/static/src/js/framework/data_model.js')
0 files changed, 0 insertions, 0 deletions