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).
A batch transfer groups the moves of several transfers, which can share
the same position (see stock_move_position): each transfer numbers
its moves on its own. When a batch is exchanged with a third party, such
as a warehouse management system (WMS), its lines need a reference that
is unique in the batch and that does not change once it has been sent.
The batch position is shown on the operations of a batch transfer, which
are listed in that order.
Batch positions are kept up to date automatically. To renumber them
explicitly, use the action Renumber positions on a batch transfer
(Inventory managers).
Modules sending batches to a third party can prevent the automatic
renumbering once a batch has been sent, by overriding
_line_renumber_needed() (see base_line_numbering).
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
feedback.
Do not contact contributors directly about support or help with technical issues.