Skip to main content

Inhibit subcontracting flow on demand

Project description

Odoo Community Association

Inhibit subcontracting flow on demand

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

If a product has a bill of materials (BoM) of subcontracting type, and the vendor is included in the list of subcontractors of such BoM, when doing a purchase order for such vendor and product, it will always generate a subcontracting order. This module allows to inhibit such behavior, acting as a regular purchase, as this may not be convenient in some cases, as on manufacturing world, it’s frequent that your vendor sells you directly the same product without you providing any raw material depending on lead times, material availability, etc. A check is provided at purchase order line level for easily disable the subcontracting part, as well as the same check at stock rule for propagating the preference from replenishment option.

Table of contents

Configuration

  1. Go to Inventory > Configuration > Settings.

  2. Check ‘Multi-Step Routes’ checkbox in Warehouse section.

Usage

  1. Go to Inventory > Configuration > Warehouses > click on smart button Routes and edit ‘Buy’ rule and check ‘Subcontracting inhibit’.

  2. Go to Inventory > Products > Product and create some product called ‘Subcontract product’.

  3. Go to Inventory > Products > Product and create other product called ‘Component’.

  4. Go to Manufacturing > Products > Bill of materials and create a new one with type = “Subcontracting” related to ‘Subcontract product’ then set ‘Component’ product and add Azure Interior in Subcontractors field.

  5. Go to Inventory > Products > Product and edit ‘Subcontract product’ and set Purchase tab as follows:

  6. [Vendor line 1] Vendor: Azure Interior, Subcontracting inhibited: Yes, Price: 5.

  7. [Vendor line 2] Vendor: Azure Interior, Subcontracting inhibited: No, Price: 10.

Purchase order flow: #. Go to Purchase > Orders > Requests for Quotation and create new order as follows: #. Vendor: Azure Interior, Product: Subcontract product #. The unit price of the product will be 10. #. Click on the ‘Confirm Order’ button. #. A production order will have been created.

Replenishment flow: #. Go to Inventory > Products > Product and go to ‘Subcontract product’. #. Click on the ‘Replenish’ button, select ‘Buy’ in Preferred Routes field and click on the ‘Confirm’ button. #. A new purchase order will have been created, go to Purchase > Orders > Requests for Quotation and enter it. #. The unit price of the product will be 5. #. Click on the ‘Confirm Order’ button. #. A production order will not have been created.

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

  • Tecnativa

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 maintainer:

victoralmau

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_mrp_subcontracting_inhibit-18.0.1.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_mrp_subcontracting_inhibit-18.0.1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c2ce6cf65c65303264a6396d87d0a2eb97d6d9573639be3c2c8042da349c82aa
MD5 5294266a159b1b081a5315c188cd520c
BLAKE2b-256 4b1ffad2df2c3c46dbebe55dded4924adb6cab2893b0453a74869c04e3e1d2b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page