Stock Location Template

stock_location_template
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/12.0/stock_location_template
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow S.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow S.L.
COMMITTERS
COMMITTERSoca-travis, OCA-git-bot, Adrià Gil Sorribes
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-warehouse
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_location_form stock.location field Inherits stock.view_location_form
view_location_search stock.location field Inherits stock.view_location_search
view_location_template_form stock.location.template.form stock.location.template form New
view_location_template_search stock.location.template.search stock.location.template search New
view_location_template_tree stock.location.template.tree stock.location.template tree New
Models touched (2)

New fields (2)
  • auto_generated_from_template Boolean
    default=False string='Location generated from template'
  • location_template_id Many2one → stock.location.template
    comodel_name='stock.location.template' string='Location Template'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi

New fields (11)
  • active Boolean
    default=True
  • auto_generate_locations Boolean
    string='Auto Generate Stock Locations'
  • cell_name_example Char
    compute='_compute_cell_name_example' string='Cell Naming example'
  • cells_nbr Integer
    default=0 string='Number of Cells'
  • cells_nomenclature Char
    help='Use the character %c that will be replaced by the corresponding cell number' string='Cells Nomenclature'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=False string='Company'
  • digits Integer
    default=2 string='Digits to use in nomenclature'
  • location_count Integer
    compute='_compute_location_count' help='The number of locations that share the location template' args: '# Locations'
  • location_ids One2many → stock.location
    comodel_name='stock.location' copy=False inverse_name='location_template_id' string='Stock Location'
  • name Char
    string='Name'
  • starting_nbr Integer
    default=1 string='Starting number'
Public methods (1)
  • get_cell_name(self, nbr)