Stock Lot Image

stock_lot_image
REPOSITORY
REPOSITORYOCA/stock-logistics-warehouse
GIT
GIThttps://github.com/OCA/stock-logistics-warehouse.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-warehouse/tree/18.0/stock_lot_image
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYStock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds the ability to define images in a lot (similar to what happens with website_sale in products).

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_lot_image_view_form stock.lot.image.form stock.lot.image form New
stock_lot_image_view_kanban stock.lot.image.kanban stock.lot.image kanban New
view_production_lot_form stock.lot page Inherits stock.view_production_lot_form
Models touched (2)

New fields (1)
  • image_ids One2many → stock.lot.image
    comodel_name='stock.lot.image' inverse_name='lot_id' string='Images'
Public methods (0)

No public methods.

New fields (6)
  • can_image_1024_be_zoomed Boolean
    compute='_compute_can_image_1024_be_zoomed' store=True string='Can Image 1024 be zoomed'
  • embed_code Html
    compute='_compute_embed_code' sanitize=False
  • lot_id Many2one → stock.lot
    comodel_name='stock.lot' index=True ondelete='cascade' string='Lot'
  • name Char
    required=True
  • sequence Integer
    default=10
  • video_url Char
    help='URL of a video for showcasing your lot.' string='Video URL'
Public methods (0)

No public methods.