Skip to content

[IMP] website_sale: design support#5022

Draft
anso-odoo wants to merge 6 commits intomaster-imp-variant-images-management-shrmfrom
master-imp-variant-images-management-shrm-anso
Draft

[IMP] website_sale: design support#5022
anso-odoo wants to merge 6 commits intomaster-imp-variant-images-management-shrmfrom
master-imp-variant-images-management-shrm-anso

Conversation

@anso-odoo
Copy link

Design support for product extra images

task-5405584

@robodoo
Copy link

robodoo commented Feb 13, 2026

This PR targets the un-managed branch odoo-dev/odoo:master-imp-variant-images-management-shrm, it needs to be retargeted before it can be merged.

@anso-odoo anso-odoo force-pushed the master-imp-variant-images-management-shrm-anso branch 4 times, most recently from f1eff5d to 4ab716d Compare February 17, 2026 09:55
@shrm-odoo shrm-odoo force-pushed the master-imp-variant-images-management-shrm branch 7 times, most recently from a2da6d4 to 78e75e0 Compare February 20, 2026 07:03
Prior this commit:
- Variant images had to be uploaded and managed individually on each product
  variant, even when multiple variants shared the same characteristics (e.g., the
  same image for all sizes of a blue T-shirt).

Post this commit:
- Images can now be uploaded directly on the product template and linked to
 specific attribute values. These images are automatically applied to all
  matching variants, simplifying variant image management and avoiding
  unnecessary duplication.

task-5405584
Issue:
- When trying to replace or edit a product image on the shop page, the secondary
  image was replaced instead of the primary image.

Cause:
- The secondary image wrapper was capturing click events in edit mode, causing
  the editor to select the wrong image.

Fix:
- Added `pointer-events: none;` to the secondary image wrapper so that click
  events pass through to the primary image. This ensures the Replace Media
  action targets the correct image.

task-5405584
@shrm-odoo shrm-odoo force-pushed the master-imp-variant-images-management-shrm branch from 78e75e0 to c8b8c48 Compare February 20, 2026 10:21
@anso-odoo anso-odoo force-pushed the master-imp-variant-images-management-shrm-anso branch from 4ab716d to 869e756 Compare February 20, 2026 10:43
Design support for product extra images

task-5405584
@anso-odoo anso-odoo force-pushed the master-imp-variant-images-management-shrm-anso branch from 869e756 to 2a92baa Compare February 20, 2026 16:02
@shrm-odoo shrm-odoo force-pushed the master-imp-variant-images-management-shrm branch from 814833a to 3974fec Compare February 23, 2026 08:46
@shrm-odoo shrm-odoo force-pushed the master-imp-variant-images-management-shrm branch 6 times, most recently from 057899f to a097ef6 Compare March 6, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants