This module implements the possibility to have multiple images for a product template, a.k.a. an image gallery.
To install this module, you need to:
- Install
base_multi_image
from OCA/server-tools.
To use this module, you need to:
- Go to Sales > Products > Products and choose a product template.
- Go to the new Images tab.
- Add a new image.
- Refresh the page.
- The first image in the collection is the main image for the product.
- Go to Sales > Products > Product Variants and choose a product variant.
- It shares the main image and collection with its template.
- If you change the main image from the variant, it becomes the variant's main image but does not appear in the template.
- If you change images from the Images tab, it changes in the template too.
- Provide proper migration scripts from module product_images from 7.0.
- Migrate to v8 api when odoo/odoo#10799 gets fixed.
- If you try to sort images before saving the product variant or template, you
will get an error similar to
DataError: invalid input syntax for integer: "one2many_v_id_62"
. This bug has not been fixed yet, but a workaround is to save and edit again to sort images.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
This module is inspired in previous module product_images from OpenLabs and Akretion.
- Pedro M. Baeza <[email protected]>
- Rafael Blasco <[email protected]>
- Jairo Llopis <[email protected]>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.