diff options
| author | Martin Trigaux <mat@odoo.com> | 2017-04-19 15:53:07 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2017-05-23 16:42:49 +0200 |
| commit | 92be0df468c3f467e078be18a13ab1cf5215f376 (patch) | |
| tree | 8fff138c358a682dff4a57a3be2cb9f45a3017af /addons/web_editor/static/src/js/snippets.editor.js | |
| parent | fc2daaeaec7bc8d668b9401fcfb4decb3d0c6d3e (diff) | |
[FIX] stock: display variant fields on variant form
The structure of the product.{product,template} form is the following:
product.product_template_form_view* (both)
|-- product.product_template_only_form_view* (template)
| \-- stock.product_template_form_view_procurement_button
|
|-- product.product_normal_form_view* (product)
| \-- stock.product_form_view_procurement_button
|
\-- stock.view_template_property_form (both)
Previous view was adding weight, volume fields on both view with a attrs that
applies only to the product.template (display only if no template).
This means that the weight was not displayed on product.product form if opened
from a Many2one (using the default product.product view) while the attrs should
not hide it.
Closes #16541
Fixes #16428
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.editor.js')
0 files changed, 0 insertions, 0 deletions
