Repository
OCA/stock-logistics-shopfloor · module folder · Try on Runboat
Module version
1.2.0
Category
Inventory
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-shopfloor
Last tracking update
2026-08-07 08:42:52
Authors
Camptocamp, Odoo Community Association (OCA), BCIM
Maintainers
Camptocamp, Odoo Community Association (OCA), BCIM
Committers
Jacques-Etienne Baudoux, Thierry Ducrest, Weblate, OCA-git-bot, oca-ci, Mmequignon
Odoo dependencies
Python dependencies
apispec, cerberus, parse-accept-language, pyquerystring, cachetools, openupgradelib
System dependencies
None
Required by
None
Description
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

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
shopfloor_menu_form_view shopfloor menu form shopfloor.menu form Inherits shopfloor_base.shopfloor_menu_form_view
stock_device_type_form_view stock.device.type form Inherits stock_picking_batch_creation.stock_device_type_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (5)
  • batch_create Boolean
    default=False help='Automatically create a batch when an operator uses the "Get Work" button and no existing batch has been found. The system will first look for priority transfers and fill up the batch till the defined constraints (max of transfers, volume, weight, ...). It never mixes priorities, so if you get 2 available priority transfers and a max quantity of 3, the batch will only contain the 2 priority transfers.' string='Automatic Batch Creation'
  • batch_group_by_commercial_partner Boolean
    default=False help='If enabled, transfers will be grouped by commercial entity.This could mix priorities and will ignore the constraints to apply.' string='Group by commercial entity'
  • batch_maximum_number_of_preparation_lines Integer
    default=20 required=True string='Maximum number of preparation lines for the batch'
  • batch_split_picking_exceeding_limit Boolean
    default=False help='If checked, the pickings exceeding the maximum number of lines, volume or weight of available devices will be split into multiple pickings to respect the limits. If unchecked, the pickings exceeding the limits will not be added to the batch. The limits are defined by the limits of the last available devices.' string='Split pickings exceeding limits'
  • stock_device_type_ids Many2many → stock.device.type
    column1='shopfloor_menu_id' column2='device_type_id' comodel_name='stock.device.type' help='Default list of eligible device types when creating a batch transfer' relation='shopfloor_menu_device_type_rel' string='Default device types'
Public methods (0)

No public methods.

New fields (1)
  • line_sort_key_code Text
    groups='base.group_system' help="Python code to sort the lines in the batch.\n\n The 'line' will be a recordset of stock.move.line.\n and the method must assign a value to the variable 'key'\n that will be used to sort the lines. You can also call\n the super method to get the default behavior.\n " string='Line sort key method'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…