Stock Serial Number Batch

stock_serial_batch_receive
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_serial_batch_receive
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYStock
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSDenis Roussel, oca-travis, OCA-git-bot, Iryna Vyshnevska
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 (2)
XML IDNameModelTypeStatus
view_stock_move_line_serial_generator stock.move.line.serial.generator.form stock.move.line.serial.generator form New
view_stock_move_operations stock.move.operations.form stock.move xpath Inherits stock.view_stock_move_operations
Models touched (2)

New fields (1)
  • picking_type_create_lots Boolean
    related='picking_id.picking_type_id.use_create_lots'
Public methods (1)
  • open_generate_serials_wizard(self)

New fields (5)
  • first_number Char
    required=True
  • picking_type_create_lots Boolean
    related='stock_move_id.picking_type_create_lots'
  • product_id Many2one → product.product
    related='stock_move_id.product_id' args: 'product.product'
  • qty_to_process Integer
    help='Defines how many serial numbers will be generated on stock move lines without a serial number yet.'
  • stock_move_id Many2one → stock.move
    readonly=True args: 'stock.move'
Public methods (3)
  • cancel(self)
  • default_get(self, fields)
    @api.model
  • generate_serials(self)
    @api.multi
    Generate serial numbers and update stock.move.line if available