diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-03-13 09:38:40 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-03-14 08:08:45 +0000 |
| commit | b5921fbfa8ae7861916e6c86597bdf37c2753101 (patch) | |
| tree | 37305170306e511bd55d1a002f430e937882eee5 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 35221a3243c9ae90cfb216a4b0fbbb7409a27712 (diff) | |
[FIX] sale: exclude all attributes
With the demo data:
- Go to Sale > Products > Products, search for 'Customizable Desk'
- Click on 'Configure Variants'
- For variant 'Legs: Steel', add all attribute values for the
'Conference Chair'
- Create a SO, add a line with 'Configure Product'
- Select the 'Customizable Desk' with 'Legs: Steel', add
Boom boom, traceback at template rendering at
`first_possible_combination[variant_id_index] == value_id`
This is because the `parent_combination` is not taken into account when
evaluating `_is_add_to_cart_possible`.
closes odoo/odoo#31496
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
