TIP: You can type at any time to perform a new search.
Purchase and Subcontracting Management
mrp_subcontracting_purchase · OCA/manufacture
- Repository
- OCA/manufacture · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Manufacturing/Purchase
- Folder size
- 0.15 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/manufacture
- Last tracking update
- 2026-08-07 07:47:35
- Authors
- Odoo Community Association (OCA), Odoo S.A., Cetmix, Ooops
- Maintainers
- Odoo Community Association (OCA), Odoo S.A., Cetmix, Ooops
- Committers
- Weblate, OCA-git-bot, oca-ci, Alessandro Uffreduzzi, dessanhemrayev, geomer198
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- mrp_subcontracting_purchase_partner_management
- Description
This bridge module adds some smart buttons between Purchase and Subcontracting **DISCLAIMER:** This module is a backport from Odoo SA and as such, it is not included in the OCA CLA. That means we do not have a copy of the copyright on it like all other OCA modules. This is a backporting of features from mrp_subcontracting modules from v15 allowing to setup a flow addressing the following use case: Vendor 1 manufactures and sells “Finished Product” Vendor 2 manufactures and sells “Component Product” (used to manufacture “Finished Product”) Vendor 3 sells “Element Product” (used to manufacture “Component Product”) As an example, in the case where there is no available qty for each of these three products, creating a PO purchasing “Finished product” for Vendor 1 generates: - The standard receipt picking from Vendor 1 to our warehouse - A PO for Vendor 2 for product “Component Product” - A subcontracting order for Vendor 1 for “Finished Product”, with component location: Vendor 1 subcontracting location Once this PO is confirmed, this generates: - A dropship picking for Vendor 1 from Vendor 2 for “Component Product” - A subcontracting order for Vendor 2 for “Component Product”, with component location: Vendor 2 subcontracting location - A PO for Vendor 3 for product “Element Product” Once this PO is confirmed, this generates: - A dropship picking for Vendor 2 from Vendor 3 for “Element Product”
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
po_form_mrp_subcontracting_purchase |
purchase.order.inherited.form.mrp.subcontracting.purchase | purchase.order | form | Inherits purchase.purchase_order_form |
stock_picking_form_mrp_subcontracting |
stock.picking.inherited.form.mrp.subcontracting | stock.picking | form | Inherits stock.view_picking_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (9)
New fields (1)
-
subcontracting_has_been_recordedBooleancopy=False args: 'Has been recorded'
-
subcontracting_record_component(self)Returns subcontracting issues Since we don't have a subcontracting_has_been_recorded field in version 14.0, we need to add functionality related to this field
New fields (1)
-
subcontracting_resupply_picking_countIntegercompute='_compute_subcontracting_resupply_picking_count'help='Count of Subcontracting Resupply for component' args: 'Count of Subcontracting Resupply'
-
action_view_picking(self) -
action_view_subcontracting_resupply(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
create_missing_subcontracting_dropshipping_rules(self)@api.modelAdds new stock rules for missing subcontracting dropshipping
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
subcontracting_source_purchase_countIntegercompute='_compute_subcontracting_source_purchase_count'help='Number of subcontracting Purchase Order Source' args: 'Number of subcontracting PO Source'
-
action_view_subcontracting_source_purchase(self)Returns action for subcontracting source purchase
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
subcontracting_dropshipping_pull_idMany2one → stock.ruleargs: 'stock.rule', 'Subcontracting-Dropshipping MTS Rule' -
subcontracting_dropshipping_to_resupplyBooleandefault=Truehelp='Dropship subcontractors with components' args: 'Dropship Subcontractors'
No public methods.