Stock Location Package Restriction

stock_location_package_restriction
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/16.0/stock_location_package_restriction
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), BCIM, Raumschmiede.de
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), BCIM, Raumschmiede.de
COMMITTERS
COMMITTERSJacques-Etienne Baudoux, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - 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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
stock_location_form_view stock.location.form (in stock_location_package_restriction) stock.location div Inherits stock.view_location_form
stock_location_search_view stock.location.search (in stock_location_package_restriction) stock.location filter Inherits stock.view_location_search
stock_location_tree_view stock.location.tree (in stock_location_package_restriction) stock.location field Inherits stock.view_location_tree2
Models touched (2)

New fields (3)
  • has_package_restriction_violation Boolean
    compute='_compute_package_restriction_violation' search='_search_has_package_restriction_violation'
  • package_restriction Selection
    help='\n Control if the location can contain products not in a package.\n\n Options:\n * False (not set): No restriction, the location can contain products\n with and without package\n * Forbidden: The location cannot have products part of a package\n * Mandatory and unique: The location cannot have products not\n part of a package and you cannot have more than 1 package on\n the location\n * Mandatory and not unique: The location cannot have products\n not part of a package and you may store multiple packages\n on the location\n ' selection=<expr>
  • package_restriction_violation_message Char
    compute='_compute_package_restriction_violation'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

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/14.0/stock_location_package_restriction
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYWarehouse Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), BCIM, Raumschmiede.de
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), BCIM, Raumschmiede.de
COMMITTERS
COMMITTERSJacques-Etienne Baudoux, Thierry Ducrest, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES 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
stock_location_form_view stock.location.form (in stock_location_package_restriction) stock.location xpath Inherits stock.view_location_form
stock_location_tree_view stock.location.tree (in stock_location_unique_product) stock.location field Inherits stock.view_location_tree2
Models touched (2)

New fields (1)
  • package_restriction Selection
    help='\n Control if the location can contain products not in a package.\n\n Options:\n * False (not set): Not mandatory, the location can contain products\n not part of a package\n * Mandatory and unique: The location cannot have products not\n part of a package and you cannot have more than 1 package on\n the location\n * Mandatory and not unique: The location cannot have products\n not part of a package and you may have store multiple packages\n on the location\n ' selection=<expr> store=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.