Search 1.9 billion lines of Odoo code on GitHub

mrp_subcontracting_inhibit

Author: Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 14.0
Repository: brain-tec/manufacture
Dependencies: mrp_subcontracting, purchase, and stock
Languages: HTML (379, 53.6%), PO File (34, 4.8%), Python (159, 22.5%), XML (30, 4.2%), and reStructuredText (105, 14.9%)
Other repositories: Change2improve/manufacture, Daniel-CA/manufacture, Darknroses/manufacture, Escodoo/manufacture, ForgeFlow/manufacture, Jarsa-dev/manufacture, OCA/manufacture, Tecnativa/manufacture, akretion/manufacture, alfredoavanzosc/manufacture, aurestic/manufacture, camptocamp/manufacture, enmingc/manufacture, grindtildeath/manufacture, kmee/manufacture, lbelorgey/manufacture, mymage/manufacture, and ursais/manufacture

<h1 class="title">Inhibit subcontracting flow on demand</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/manufacture/tree/14.0/mrp_subcontracting_inhibit"><img alt="OCA/manufacture" src="https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/manufacture-14-0/manufacture-14-0-mrp_subcontracting_inhibit"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/129/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>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.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <ol class="arabic simple"> <li>Go to <em>Inventory &gt; Configuration &gt; Settings</em>.</li> <li>Check 'Multi-Step Routes' checkbox in <em>Warehouse</em> section.</li> </ol> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <ol class="arabic simple"> <li>Go to <em>Inventory &gt; Configuration &gt; Routes</em> and edit 'Buy' rule and check 'Subcontracting inhibit'.</li> <li>Go to <em>Inventory &gt; Products &gt; Product</em> and create some product called 'Subcontract product'.</li> <li>Go to <em>Inventory &gt; Products &gt; Product</em> and create other product called 'Component'.</li> <li>Go to <em>Manufacturing &gt; Products &gt; Bill of materials</em> and create a new one with type = &quot;Subcontracting&quot; related to 'Subcontract product' and set 'Component' product.</li> <li>Go to <em>Inventory &gt; Products &gt; Product</em> and edit 'Subcontract product' and set Purchase tab as follows:</li> <li>[Vendor line 1] Vendor: Azure Interior, Subcontracting inhibited: Yes, Price: 5.</li> <li>[Vendor line 2] Vendor: Azure Interior, Subcontracting inhibited: No, Price: 10.</li> </ol> <p>Purchase order flow: #. Go to <em>Purchase &gt; Orders &gt; Requests for Quotation</em> 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.</p> <p>Replenishment flow: #. Go to <em>Inventory &gt; Products &gt; Product</em> 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 <em>Purchase &gt; Orders &gt; Requests for Quotation</em> 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.</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/manufacture/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_subcontracting_inhibit%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id4">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id5">Authors</a></h3> <ul class="simple"> <li>Tecnativa</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <ul class="simple"> <li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul> <li>Víctor Martínez</li> <li>Pedro M. Baeza</li> </ul> </li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/victoralmau"><img alt="victoralmau" src="https://github.com/victoralmau.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/manufacture/tree/14.0/mrp_subcontracting_inhibit">OCA/manufacture</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>