OdooWiki OCA HUB

Stock Picking To Batch Group Field

stock_picking_to_batch_group_fields folder_open OCA/stock-logistics-workflow open_in_new
Inventory/Delivery License: LGPL-3

This module extends the functionality of the picking batch and allows you to manually group pickings by any field in the model.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

This module lets you create several batch transfers at once, automatically grouping the selected transfers by the fields you choose (for example carrier, partner or scheduled date).

When you select several transfers and use the standard "Add to batch" action, the wizard now offers an extra option called "Grouped by fields". If you tick it, a list appears where you can pick one or more fields of the transfer to group by, and you can reorder them.

  • The wizard then creates one batch per combination of values found in the selected transfers, instead of a single batch.
  • Each new batch is filled with the transfers that share the same values for the chosen fields.
  • If the wizard is set to create a new batch and not to leave it in draft, the batches are confirmed automatically.
  • Transfers that are already in a batch or are cancelled/done are ignored; if none are left, an error message is shown.
  • The fields you used last time are remembered and pre-selected the next time you open the wizard.
  • After the batches are created, Odoo opens the list of the new batches if there is more than one, or the form of the single batch otherwise.

The module adds the grouping option to the existing batch creation wizard (stock.picking.to.batch) and stores the chosen fields in a small helper model. It does not change the transfers themselves or add new menus; it only extends the existing batch creation screen.

Depends on

stock_picking_batch
Models and fields (2)
  • stock.picking.to.batch · extends an existing modelbatch_by_group (Grouped by fields), group_field_ids (Group by field)
  • stock.picking.batch.creator.group.field · new modelfield_id (Field to group), sequence, picking_to_batch_id

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

To configure this module, you need to:

  • Go to Inventory > Configuration > Settings > Operations.
  • Activate Batch, Wave & Cluster Transfers

To use this module, you need to:

  • Go to Inventory > Overview.
  • Access the pickings to process in one of the types of operations.
  • Select multiple pickings.
  • Click on Action > Add to batch.
  • Choose add to a new batch transfer and check Group by fields
  • Select the fields you want to group by.
  • Click on Confirm.
  • Multiple batches will be created by grouping the picking by the fields you selected.
  • Fields you selected are saved and will be loaded for the next time.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.