Toggle navigation

Purchase and Subcontracting Management

Beta License: LGPL-3 OCA/manufacture Translate me on Weblate Try me on Runboat

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”

Table of contents

Configuration

  • Enable Multi-step Routes in Inventory > settings
  • Unarchive operation type “Subcontracting”

For each subcontracting partner:

  • Create a subcontracting location with parent location “Physical Locations/Subcontracting Location”
  • Set created location in subcontracting partner > tab Sales & Purchase > “Subcontracting location” field
  • Create two rules for Route “Dropship Subcontractor on Order:

    • Action: Buy, Operation Type: Dropship, Destination location: partner subcontracting location
    • Action: Pull From, Operation Type: Subcontracting, Source Location: partner subcontracting location, Destination location: Virtual Locations/Production, Supply Method: Trigger Another Rule, Partner Address: subcontracting partner

For each product:

  • Create a Vendor Pricelist and a Subcontracting BoM.
  • In Inventory tab, set Route “Buy” for Finished Product, and “Dropship Subcontractor on order” for products needed for its production.

Changelog

Bug Tracker

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.

Credits

Authors

  • Odoo S.A.
  • Ooops
  • Cetmix

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

dessanhemrayev CetmixGitDrone Volodiay622 geomer198

This module is part of the OCA/manufacture project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.