[FIX] product_extended: price from bom is build for product templates
authorDenis Ledoux <dle@odoo.com>
Mon, 24 Nov 2014 16:24:49 +0000 (17:24 +0100)
committerDenis Ledoux <dle@odoo.com>
Mon, 24 Nov 2014 17:01:20 +0000 (18:01 +0100)
commit6feefe4d102ff5b9f1500adbcb30f7177e07ba05
tree706b3bd9a60d9cedad4998cf3cc7af0d82cc4896
parent1276d01f27f45760159416cb8320a0f0eeec5767
[FIX] product_extended: price from bom is build for product templates

As it sets the standard_price field, which is defined on product templates only: setting the standard price of a product variant will lead to set the standard price to all the variants of the product template.

There is therefore no meaning to compute and set the standard price of product variants according to the boms
addons/product_extended/product_extended.py
addons/product_extended/product_extended_view.xml
addons/product_extended/product_extended_wizard.xml
addons/product_extended/wizard/wizard_price.py