Stock Restrict Lot Domain

stock_restrict_lot_update
REPOSITORY
REPOSITORYOCA/stock-logistics-workflow
GIT
GIThttps://github.com/OCA/stock-logistics-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_restrict_lot_update
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), PyTech SRL, Ooops404
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), PyTech SRL, Ooops404
COMMITTERS
COMMITTERSWeblate, oca-ci, Alessandro Uffreduzzi
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/stock-logistics-workflow:
    - stock_restrict_lot
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view res.config.settings xpath Inherits stock.res_config_settings_view_form
view_picking_form stock.picking.form stock.picking xpath Inherits stock.view_picking_form
Models touched (3)

New fields (1)
  • enforce_lot_restriction_product_domain Char
    default='[]' help='Lot restriction of stock movements cannot be changed for products in this domain.\n if empty, lot restrictions cannot be changed for any product.' string='Enforce lot restrictions'
Public methods (0)

No public methods.

New fields (1)
  • enforce_lot_restriction_product_domain Char
    readonly=False related='company_id.enforce_lot_restriction_product_domain'
Public methods (0)

No public methods.

New fields (1)
  • change_restrict_lot Boolean
    compute='_compute_change_restrict_lot' help='If the product is in the domain'
Public methods (1)
  • write(self, vals)
    Propagate changes to restrict_lot_id to all destination moves - recursively.