Stock Move Picking Type Origin
stock_move_propagate_first_move · OCA/stock-logistics-workflow
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 4 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Description
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_move_form_view |
stock.move | form | Inherits stock.view_move_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
first_move_idMany2one → stock.movecomodel_name='stock.move'help='The original move which generated this one.'index='btree_not_null'readonly=Truestring='First Move' -
first_picking_type_idMany2one → stock.picking.typecomodel_name='stock.picking.type'help='Picking type of the original move which generated this one.'related='first_move_id.picking_type_id'store=Truestring='Original Operation Type'
-
create(self, vals_list)@api.model_create_multi
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…