diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-02-07 13:02:32 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2019-02-08 13:49:49 +0000 |
| commit | afc5ec8bdfa90df567a75a3cb7432bf740364de2 (patch) | |
| tree | ee06266a6b96d4824c58808740bd198a404d86a8 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 288b5e3a41420313a2adb25603d7a7fc7b009a3b (diff) | |
[FIX] mrp: cost and attributes
When retrieving the BOM lines in `_get_bom_lines`, we check the product
attribute values to know if the BOM line should be taken into account or
not. However, we do not do such a check when we retrieve the price in
`_get_price`.
It can lead to an inconsistency between the sub-lines displayed and the
total price.
We need to apply the same filtering logic when getting the price.
opw-1932437
closes odoo/odoo#30917
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
