MRP Subcontracting Resupply Status
mrp_subcontracting_resupply_status · OCA/manufacture
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module adds more visibility of the resupply transfer status for subcontracting purchases and receipts.
- Adds a field in purchase orders resupply_status, to know the status of the resupply transfers if any.
- Adds a field in receipts transfers resupply_status, to know the status of the resupply transfer that precedes the receipt, if any.
In Odoo 20.0 the subcontractor resupply is configured on the warehouse ("Resupply Subcontractors") and the "Resupply Subcontractor on Order" route is not selectable on products by default, so the module now detects the resupply transfers from the subcontracting manufacturing order and their subcontracting destination location instead of the product routes.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form_resupply_status |
purchase.order.form.resupply.status | purchase.order | form | Inherits purchase_stock.purchase_order_view_form_inherit |
purchase_order_view_tree_resupply_status |
purchase.order.tree.resupply.status | purchase.order | tree | Inherits purchase_stock.purchase_order_view_tree_inherit |
view_picking_form_resupply_status |
stock.picking.form.resupply.status | stock.picking | form | Inherits stock.view_picking_form |
vpicktree_resupply_status |
stock.picking.tree.resupply.status | stock.picking | tree | Inherits stock.vpicktree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
resupply_statusSelectioncompute='_compute_resupply_status'store=True args: [('pending', 'Not Resupplied'), ('partial', 'Partially Resupplied'), ('full', 'Fully Resupplied')]
No public methods.
No new fields.
Public methods (1)-
write(self, vals)
-
resupply_statusSelectioncompute='_compute_resupply_status'store=True args: [('pending', 'Not Resupplied'), ('partial', 'Partially Resupplied'), ('full', 'Fully Resupplied')] -
subcontracting_resupply_picking_countIntegercompute='_compute_subcontracting_resupply_picking_count'help='Count of Subcontracting Resupply related to this receipt' args: 'Count of Subcontracting Resupply'
No public methods.
Loading…