diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-03-12 14:03:55 +0100 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-03-15 13:35:54 +0100 |
| commit | 7e724f96c55815728d478a889ff5f1a0314dcc16 (patch) | |
| tree | 561f4afd22bdcfdb92a835fed081bbf5ea40665e /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 56749cf098a214c0a17e525e9f3eab7fa1b1998c (diff) | |
[FIX] product: display Cost price of product
The 'Cost' price should be displayed in the main form view of
`product.product`, not only the simplified view.
The reason is that the field `product_variant_count` has the same value
for the product and the template, therefore it cannot be used to make
the distinction between the two models.
To do so, we need to reintroduce the `is_product_variant` field to make
the distinction between `product.product` and `product.template`.
opw-1814973
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
