Stock Move Picking Type Origin
Sometimes when you process your move, you need to know which move has been at the origin of the procurement chain that lead to the creation of the move. This information could be useful for example to know if the move is part of an outgoing or incoming process without having to look at the chained moves.
This module add the fields first_move_id and first_picking_type_id on the move line to give this information in a transparent way without having to wonder about the direction in which the move chain should be navigated to get the information.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds two read-only fields to stock moves showing the very first move that started the chain and its operation type, so users can see the origin of any move without following the chain.
When stock moves are created by procurement rules (for example, a sale triggers a delivery, which triggers a transfer), this module records which move was at the very beginning of the chain. On every stock move, two new read-only fields appear: first_move_id (the original move) and first_picking_type_id (the operation type of that original move).
- On the stock move form, these fields are shown inside the origin group, but only when a first move is set.
- When a move is created manually (not from a chain), it becomes its own first move automatically.
- When a move is created from a procurement rule, the first move is taken from the move it was created for, so the origin is propagated forward.
- When a move is copied by a push rule, the first move is also carried over.
The module touches the stock.move and stock.rule models. It does not add menus or reports; the information is visible directly on the stock move form. This helps users quickly identify whether a move belongs to an incoming or outgoing process without navigating through the whole chain of moves.
Depends on
Required by other modules
Models and fields (2)
- stock.move · extends an existing modelfirst_move_id (First Move), first_picking_type_id (Original Operation Type)
- stock.rule · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/stock-logistics-workflow.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.