Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 19.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.05 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

Description

Adds the batch position on stock moves: the position of the move in its batch transfer, numbered 1, 2, 3, ... The moves of a transfer stay together, and the transfers follow their order in the batch.

Batch positions are renumbered automatically when moves are added to or removed from the transfers of a batch, and when transfers are added to a batch or reordered in it. A transfer added to a batch goes after the transfers already in it, so the existing batch positions don't move. A split move keeps the batch position of the original one. The moves sorted by batch position follow the numbers (10 after 9).

The position of the moves in their transfer comes from stock_move_position.

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 1

XML IDNameModelTypeStatus
view_picking_move_tree_inherited_inherit stock_picking_batch.picking.move.list.inherit stock.move list Inherits stock_picking_batch.view_picking_move_tree_inherited

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • batch_position Char
    copy=False readonly=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • action_renumber_lines_positions(self)
    Renumber the batch's moves (UI action).