Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 7 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.56 MB
Module directory on disk
Code analysis 0 migration notes 8 models 11 views 0 HTTP endpoints

Description

This module:

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

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…