diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-01-30 13:17:50 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-01-31 10:59:19 +0100 |
| commit | d295b4360db93a0d3333153098e623e573ac099b (patch) | |
| tree | b7b3fecf04b56d95e58d39ba24cfccffa4ffcc94 /addons/barcodes/static/src/js | |
| parent | 9dce2be2735b57d9c6781fbdd43725ab5f32cc5a (diff) | |
[FIX] website_sale: properly switch images when selecting a variant
When using product variants, the product page shows:
- The product variant if different from the product image
- The product image
- Extra product images
The product variant image has to be switched dynamically when the user
choose another variant. This was broken with commit https://github.com/odoo/odoo/commit/f98bb2b86bb7c3ff0a549f24b31616c1539420a7
Indeed, it was switching the product image with the product image
variant instead.
This was because the variant/template order changed without switching
their classes. This commit changes their order again.
Also see opw-784737
Diffstat (limited to 'addons/barcodes/static/src/js')
0 files changed, 0 insertions, 0 deletions
