diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2015-11-10 15:36:56 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2015-11-10 16:34:57 +0100 |
| commit | a8ae94485dc162b2bfb010b4eadfa1bf82a74ac6 (patch) | |
| tree | f2bc51ca08fb004e286dae81a58f3fcd8c482a64 /addons/website_google_map/static/src/css | |
| parent | 15b0596c3105b4cbff53bb0904feb1f8fe353806 (diff) | |
[FIX] website_sale: unify image update when change variant
The variants on a product in the ecommerce can appear:
- naturally, not a list, colored square for color, ...
- in a list of radio button.
To have the second kind, we need to enable the "List View of Variants"
customize option.
One part of the code was not the same which cause an issue when saving
the image of the variant, it was saved on the product.template instead.
This commit add an "update_product_image" function which is now called
in both scenario.
first half of:
opw-654279
forward port note: in 9.0 website/image -> web/image
Diffstat (limited to 'addons/website_google_map/static/src/css')
0 files changed, 0 insertions, 0 deletions
