OdooWiki OCA HUB

Shopfloor - Batch Transfer Automatic Creation

shopfloor_batch_automatic_creation folder_open OCA/stock-logistics-shopfloor open_in_new
Inventory License: AGPL-3

Extension for Shopfloor's cluster picking.

When a user uses the "Get Work" button on the barcode device, if no transfer batch is available, it automatically creates a new batch for the user.

Some options can be configured on the Shopfloor menu:

  • Activate or not the batch creation
  • Group by commercial entity
  • Max number of transfer per batch
  • Max weight per batch
  • Max volume per batch

The rules are:

  • Transfers of higher priority are put first in the batch
  • If some transfers are assigned to the user, the batch will only contain those, otherwise, it looks for unassigned transfers
  • Priorities are not mixed to make transfers with higher priority faster e.g. if the limit is 5, with 3 Very Urgent transfer and 10 Normal transfer, the batch will contain only the 3 Very Urgent despite the higher limit
  • The weight and volume are based on the Product Packaging when their weight and volume are defined

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Automatically creates a batch transfer when an operator uses the "Get Work" button in Shopfloor cluster picking and no existing batch is available. It respects priority, commercial entity, and device limits.

This module extends Shopfloor's cluster picking to automatically create a batch transfer when an operator presses "Get Work" and no batch is found. It adds a "Batch Creation" section on the Shopfloor menu configuration where you can enable automatic batch creation and set options: group by commercial entity, maximum number of preparation lines, split pickings exceeding limits, and default device types.

The system first looks for priority transfers and fills the batch up to the defined constraints (max transfers, volume, weight). It never mixes priorities, so if there are 2 priority transfers and the limit is 3, the batch will contain only those 2. If some transfers are assigned to the user, only those are considered; otherwise, unassigned transfers are used. Weight and volume limits are based on product packaging.

On the device type configuration, a new field allows entering custom Python code to sort move lines in the batch. This code is validated for syntax errors. The module also adds a field to show the auto batch option on the operation type list.

It affects the shopfloor.menu, stock.device.type, and stock.move.line models, and uses the make.picking.batch model to create batches.

Models and fields (3)
  • shopfloor.menu · extends an existing modelbatch_create (Automatic Batch Creation), stock_device_type_ids (Default device types), batch_group_by_commercial_partner (Group by commercial entity), batch_split_picking_exceeding_limit (Split pickings exceeding limits), batch_maximum_number_of_preparation_lines (Maximum number of preparation lines for the batch)
  • stock.device.type · extends an existing modelline_sort_key_code (Line sort key method)
  • shopfloor.picking.batch.auto.create · new model

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 18.0

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.