TIP: You can type at any time to perform a new search.
Stock Picking Batch Creation
stock_picking_batch_creation · OCA/wms
- Repository
- OCA/wms · module folder · Try on Runboat
- Module version
- 2.2.0
- Category
- Warehouse Management
- Folder size
- 0.2 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/wms
- Last tracking update
- 2026-08-07 08:09:26
- Authors
- ACSONE SA/NV, Odoo Community Association (OCA), BCIM
- Maintainers
- ACSONE SA/NV, Odoo Community Association (OCA), BCIM
- Committers
- Laurent Mignon (ACSONE), Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- shopfloor_batch_automatic_creation
- Description
Code Analysis ⓘ
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
make_picking_batch_form_view |
make.picking.batch.form (in stock_picking_batch_creation) | make.picking.batch | form | New |
stock_device_type_form_view |
stock.device.type.form (in stock_picking_batch_creation) | stock.device.type | form | New |
stock_device_type_tree_view |
stock.device.type.tree (in stock_picking_batch_creation) | stock.device.type | tree | New |
stock_picking_batch_form_view |
stock.picking.batch.form (in stock_picking_batch_creation) | stock.picking.batch | form | Inherits stock_picking_batch.stock_picking_batch_form |
stock_picking_form_view |
stock.picking.form (in stock_picking_batch_creation) | stock.picking | form | Inherits stock.view_picking_form |
view_picking_tree_batch_view |
stock.picking.tree.batch (in stock_picking_batch_creation) | stock.picking | tree | Inherits stock_picking_batch.view_picking_tree_batch |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (10)
-
add_picking_list_in_errorBooleandefault=Falsehelp="If not suitable device is provided for the pickings candidates, the error message will contain the list of the pickings names. In somecases, this list can be very long. That's why this option is uncheckedby default."string='Add all the names of the pickings in error message' -
group_pickings_by_partnerBooleandefault=Falsehelp='All the pickings related to one partner will be put into the same bins'string='Group pickings by partner' -
maximum_number_of_preparation_linesIntegerdefault=20help='Set to 0 to disable.'required=Truestring='Maximum number of preparation lines for the batch.' -
picking_locking_modeSelectiondefault=<expr>help='Define the way the system will search and lock the pickings. In the same time, picking already locked by another transaction will be skipped. This should reduce the risk of deadlocks if 2 users try to create a batch at the same time.'selection=[('sql_for_update_skip_locked', 'SQL FOR UPDATE SKIP LOCKED')]string='Picking locking mode' -
picking_type_idsMany2many → stock.picking.typecolumn1='batch_id'column2='picking_type_id'comodel_name='stock.picking.type'help='Default list of eligible operation types when creating a batch transfer'relation='make_picking_batch_picking_type_rel'string='Default operation types' -
restrict_to_same_partnerBooleandefault=Falsehelp='Only the pickings with the same partner will be selected for this batch.'string='Restrict to the same partner' -
restrict_to_same_priorityBooleandefault=Falsehelp='Only the pickings with the same priority will be selected for this batch.'string='Restrict to the same priority' -
split_picking_exceeding_limitsBooleandefault=Falsehelp='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_idsMany2many → stock.device.typecolumn1='batch_id'column2='device_type_id'comodel_name='stock.device.type'help='Default list of eligible device types when creating a batch transfer'relation='make_picking_batch_device_type_rel'string='Default device types' -
user_idMany2one → res.usersdefault=<expr>string='Responsible' args: 'res.users'
-
create_batch(self) -> dict
New fields (15)
-
max_volumeFloathelp='Volume in default system volume unit of measure. Set to 0 to disable.'string='Maximum total net volume for this device' -
max_weightFloathelp='Weight in default system weight unit of measure. Set to 0 to disable.'string='Maximum total net weight for this device' -
min_volumeFloathelp='Volume in default system volume unit of measure. Set to 0 to disable.'string='Minimum total net volume for this device' -
nameCharrequired=True -
nbr_binsIntegerstring='Number of compartments' -
sequenceIntegerstring='Priority' -
split_modeSelectiondefault='dimension'required=Trueselection=[('dimension', 'Dimension')] -
user_max_volumeFloatcompute='_compute_user_max_volume'inverse='_inverse_user_max_volume'readonly=Falsestring='Maximum total net volume for electing this device' -
user_max_weightFloatcompute='_compute_user_max_weight'inverse='_inverse_user_max_weight'readonly=Falsestring='Maximum total net weight for electing this device' -
user_min_volumeFloatcompute='_compute_user_min_volume'inverse='_inverse_user_min_volume'readonly=Falsestring='Minimum total net volume for electing this device' -
user_volume_uom_idMany2one → uom.uomdefault=<expr>domain=<expr>help='Packaging volume unit of measure'required=Truestring='Volume Units of Measure' args: 'uom.uom' -
user_volume_uom_nameCharreadonly=Truerelated='user_volume_uom_id.display_name'required=Truestring='Volume Unit of Measure label' -
user_weight_uom_idMany2one → uom.uomcompute=Falsedefault=<expr>domain=<expr>help='Weight Unit of Measure'string='Weight Units of Measure' args: 'uom.uom' -
user_weight_uom_nameCharreadonly=Truerelated='user_weight_uom_id.display_name'string='Weight unit of measure label' -
volume_per_binFloatcompute='_compute_volume_per_bin'string='Max volume per bin'
No public methods.
New fields (2)
-
nbr_picking_linesIntegercompute='_compute_nbr_picking_lines'help='Indicates the picking lines ready for preparation.'store=Truestring='Number of lines' -
picking_device_idMany2one → stock.device.typereadonly=Truerelated='batch_id.picking_device_id'string='Device for the picking' args: 'stock.device.type'
No public methods.
New fields (5)
-
batch_nbr_binsIntegerhelp='Indicates the bins occupied by the pickings on the device.'string='Number of compartments' -
batch_nbr_linesIntegerhelp='Indicates the picking lines ready for preparation.'string='Number of picking lines' -
batch_volumeFloathelp='Indicates total volume of transfers included.'string='Total volume' -
batch_weightFloathelp='Indicates total weight of transfers included.'string='Total weight' -
picking_device_idMany2one → stock.device.typestring='Device' args: 'stock.device.type'
-
write(self, vals)