diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-09-08 15:58:42 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-09-08 16:01:42 +0200 |
| commit | c86201c5532f7338c0fd8a7663ed608a650c4ca5 (patch) | |
| tree | 7d8dae774dacc0177aae85adbb477d40b287fd90 /addons/web_editor/static/src/js/snippets.editor.js | |
| parent | ddcd2e771b8b86f54410f2673ddd4f4b96031aa5 (diff) | |
[FIX] mrp: fix BOM smart button for product variants
Do not force the `search_default_product_id`to the current
product variant, as the domain just above could return a
result, a BOM which is set for the template of this variant
but not for the variant istself, that this filter would hide.
This is following the revision
52cba1b56325f101ef159648d5d1dd3b974576f0
Because of this, a product variant smart button could
display "1 BOM", but when clicking on it, none would be displayed,
which is not user-friendly at all.
opw-687912
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.editor.js')
0 files changed, 0 insertions, 0 deletions
