summaryrefslogtreecommitdiff
path: root/addons/website_google_map/static
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-11-10 15:36:56 +0100
committerNicolas Lempereur <nle@odoo.com>2015-11-10 16:34:57 +0100
commita8ae94485dc162b2bfb010b4eadfa1bf82a74ac6 (patch)
treef2bc51ca08fb004e286dae81a58f3fcd8c482a64 /addons/website_google_map/static
parent15b0596c3105b4cbff53bb0904feb1f8fe353806 (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')
0 files changed, 0 insertions, 0 deletions