Stock Picking To Batch Group Field

stock_picking_to_batch_group_fields
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/18.0/stock_picking_to_batch_group_fields
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYInventory/Delivery
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Emilio Pascual
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_picking_batch
    - 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 extends the functionality of the picking batch and allows you to manually group pickings by any field in the model.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
stock_picking_to_batch_form_inherit stock.picking.to.batch xpath Inherits stock_picking_batch.stock_picking_to_batch_form
Models touched (2)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' domain=[('model', '=', 'stock.picking'), ('store', '=', True)] required=True string='Field to group'
  • picking_to_batch_id Many2one → stock.picking.to.batch
    comodel_name='stock.picking.to.batch' ondelete='cascade' required=True
  • sequence Integer
    default=0 help='Group by picking field'
Public methods (0)

No public methods.

New fields (2)
  • batch_by_group Boolean
    help='If set, multiple batch picking will be created, one per group field' string='Grouped by fields'
  • group_field_ids One2many → stock.picking.batch.creator.group.field
    comodel_name='stock.picking.batch.creator.group.field' help='If set any, multiple batch picking will be created, one per group field' inverse_name='picking_to_batch_id' string='Group by field'
Public methods (6)
  • action_view_batch_picking(self, batch_pickings)
  • attach_pickings(self)
  • create_multiple_batch(self, domain)
    Create n batch pickings by grouped fields selected
  • default_get(self, fields)
    @api.model
    Set last grouped fields used that are stored in config parameters
  • load_store_fields(self)
  • onchange_batch_by_group(self)
    @api.onchange('batch_by_group')
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/16.0/stock_picking_to_batch_group_fields
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYInventory/Delivery
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Moduon
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Moduon
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Emilio Pascual
WEBSITE
WEBSITEhttps://github.com/OCA/stock-logistics-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_picking_batch
    - 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
This module extends the functionality of the picking batchs and allows you to manually group picking by any field in the model.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
stock_picking_to_batch_form_inherit stock.picking.to.batch xpath Inherits stock_picking_batch.stock_picking_to_batch_form
Models touched (2)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' domain=[('model', '=', 'stock.picking'), ('store', '=', True)] required=True string='Field to group'
  • picking_to_batch_id Many2one → stock.picking.to.batch
    comodel_name='stock.picking.to.batch' ondelete='cascade' required=True
  • sequence Integer
    default=0 help='Group by picking field'
Public methods (0)

No public methods.

New fields (2)
  • batch_by_group Boolean
    help='If set, multiple batch picking will be created, one per group field' string='Grouped by fields'
  • group_field_ids One2many → stock.picking.batch.creator.group.field
    comodel_name='stock.picking.batch.creator.group.field' help='If set any, multiple batch picking will be created, one per group field' inverse_name='picking_to_batch_id' string='Group by field'
Public methods (6)
  • action_view_batch_picking(self, batch_pickings)
  • attach_pickings(self)
  • create_multiple_batch(self, domain)
    Create n batch pickings by grouped fields selected
  • default_get(self, fields)
    @api.model
    Set last grouped fields used that are stored in config parameters
  • load_store_fields(self)
  • onchange_batch_by_group(self)
    @api.onchange('batch_by_group')