TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/stock-logistics-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Warehouse Management
Folder size
0.56 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-workflow
Last tracking update
2026-10-04 00:16:45
Authors
Camptocamp, Odoo Community Association (OCA), Tecnativa
Maintainers
Camptocamp, Odoo Community Association (OCA), Tecnativa
Committers
OCA-git-bot, oca-ci, Andrii9090-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module:

Adds extra fields to the batch picking creation wizard Adds extra fields
and functionalities to the batch picking form.

Code Analysis info_outline

Views touched (11)
XML IDNameModelTypeStatus
product_normal_form_view product.normal.form product.template form Inherits stock.view_template_property_form
report_batch_picking report_batch_picking ir.ui.view qweb New
res_config_settings_view_form res.config.settings.view.form.inherit.batch.picking res.config.settings form Inherits stock.res_config_settings_view_form
stock_picking_batch_filter stock.picking.batch Inherits stock_picking_batch.stock_picking_batch_filter
stock_picking_batch_form stock.picking.batch form Inherits stock_picking_batch.stock_picking_batch_form
stock_picking_batch_tree stock.picking.batch tree Inherits stock_picking_batch.stock_picking_batch_tree
stock_picking_to_batch_form stock.picking.to.batch form Inherits stock_picking_batch.stock_picking_to_batch_form
view_move_line_tree stock.move.line tree Inherits stock_picking_batch.view_move_line_tree
view_picking_form stock.picking form Inherits stock_picking_batch.stock_picking_form_inherit
view_picking_internal_search stock.picking search Inherits stock.view_picking_internal_search
view_warehouse stock.warehouse Inherits stock.view_warehouse
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (0)

No new fields.

Public methods (7)
  • key_level_0(self, operation)
    @api.model
  • key_level_1(self, operation)
    @api.model
  • new_level_0(self, operation)
    @api.model
  • new_level_1(self, operation)
    @api.model
  • sort_level_0(self, rec_list)
    @api.model
  • sort_level_1(self, rec_list)
    @api.model
  • update_level_1(self, group_dict, operation)
    @api.model

New fields (1)
  • use_oca_batch_validation Boolean
Public methods (0)

No public methods.

New fields (1)
  • use_oca_batch_validation Boolean
    readonly=False related='company_id.use_oca_batch_validation' string='Use OCA approach to validate Picking Batch'
Public methods (0)

No public methods.

New fields (1)
  • batch_id Many2one → stock.picking.batch
    comodel_name='stock.picking.batch' related='picking_id.batch_id'
Public methods (0)

No public methods.

New fields (7)
  • active_picking_ids One2many → stock.picking
    comodel_name='stock.picking' domain=[('state', 'not in', ('cancel', 'done'))] help='List of active picking managed by this batch.' inverse_name='batch_id' readonly=True string='Active Pickings'
  • date Date
    default=fields.Date.context_today help='date on which the batch picking is to be processed' index=True required=True
  • name Char
    index=True
  • notes Text
    help='free form remarks'
  • picking_count Integer
    compute='_compute_picking_count' string='# Pickings'
  • use_oca_batch_validation Boolean
    copy=False default=<expr>
  • user_id Many2one
    index=True
Public methods (6)
  • action_batch_detailed_operations(self)
  • action_cancel(self)
    Call action_cancel for all batches pickings and set batches states to cancel too only if user set OCA batch validation approach.
  • action_picking_move_tree(self)
  • action_print_picking(self)
  • action_view_stock_picking(self)
    This function returns an action that display existing pickings of given batch picking.
  • remove_undone_pickings(self)
    Remove of this batch all pickings which state is not done / cancel.

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 (6)
  • batch_by_group Boolean
    string='Create batch pickings grouped by fields'
  • batch_max_pickings Integer
    help="A transfer will not be added to batches that will exceed this number of transfers.\nLeave this value as '0' if no transfer limit." args: 'Maximum transfers'
  • 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'
  • name Char
    help='Name of the batch picking'
  • notes Text
    help='Free form remarks'
  • user_id Many2one
    default=<expr>
Public methods (10)
  • action_create_batch(self)
    For OCA approach: Create a batch picking with selected pickings after having checked that they are not already in another batch or done/cancel. For non OCA approach or add to existing batch picking: Call to original method
  • action_view_batch_picking(self, batch_pickings)
    @api.model
  • confirm_batch_picking(self, batch)
  • create_batch_picking(self)
  • create_multiple_batch(self, domain)
    Create n batch pickings by grouped fields selected
  • create_simple_batch(self, domain)
    Create one batch picking with all pickings
  • 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')
  • split_chunks(self, pickings)
    Split pickings in n chunks

New fields (1)
  • default_user_id Many2one → res.users
    help='the user to which the batch pickings are assigned by default' index=True args: 'res.users', 'Default Picker'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
467 days ago
Last activity
13 days ago
Repository
OCA/stock-logistics-workflow
Pull request
[17.0][MIG] stock_picking_batch_extended: Migration to version 17.0 (#1997)