OdooWiki OCA HUB
Stock License: AGPL-3

This module adds the ability to define images in a lot (similar to what happens with website_sale in products).

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Add images and videos to stock lots/serial numbers. A new Images tab on the lot form lets users upload pictures, add a video link, and see a preview.

This module lets you attach pictures and a video to a stock lot or serial number, similar to product images.

On the lot/serial number form (the stock.lot screen), a new "Images" tab appears after the Description tab. There you can add media items, each with a name, an image, and an optional video URL. Media are shown as cards in a kanban-style gallery, and you can drag them to change their order.

When you enter a video URL, Odoo automatically builds a video preview and, if no image is set yet, tries to use the video thumbnail as the image. If the URL is not a valid video link, Odoo blocks saving and shows an error message.

Each image card also shows a small colour-coded badge about the file size: green for acceptable, orange for large files that should be optimized, and red when the image is too big and must be reduced.

Access is controlled: all internal users can view lot images, but only users in the lot/serial number management group can create, edit, or delete them.

Depends on

stock
Models and fields (2)
  • stock.lot · extends an existing modelimage_ids (Images)
  • stock.lot.image · new modelname, lot_id (Lot), sequence, video_url (Video URL), embed_code, can_image_1024_be_zoomed (Can Image 1024 be zoomed)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 18.0

Go to a lot and in the Images tab you can add linked files.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.