Search 1.9 billion lines of Odoo code on GitHub

stock_picking_procure_method

Author: Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 14.0
Repository: ACCOMODATA-BVBA/stock-logistics-warehouse
Dependencies: stock
Languages: HTML (409, 56.7%), PO File (49, 6.8%), Python (114, 15.8%), XML (16, 2.2%), and reStructuredText (133, 18.4%)
Other branches: 11.0, 12.0, and 15.0
Other repositories: 001101/stock-logistics-warehouse, AITIC/stock-logistics-warehouse, Alfa-90/stock-logistics-warehouse, BT-cserra/stock-logistics-warehouse, BT-lminder/stock-logistics-warehouse, BT-rmartin/stock-logistics-warehouse, BenjaHe/stock-logistics-warehouse, CB-Gran-Canaria/stock-logistics-warehouse, Capriatto/stock-logistics-warehouse, Chandresh-SerpentCS/stock-logistics-warehouse, Change2improve/stock-logistics-warehouse, ComitorDevTeam/stock-logistics-warehouse, Comunitea/stock-logistics-warehouse, Darknroses/stock-logistics-warehouse, Digital5-Odoo/stock-logistics-warehouse, DinamicheAziendali/stock-logistics-warehouse, Dobtor-OCA/stock-logistics-warehouse, ERPLibre/stock-logistics-warehouse, ForgeFlow/stock-logistics-warehouse, Gabinete-Digital/stock-logistics-warehouse, Ingeos/stock-logistics-warehouse, J-Angeles/stock-logistics-warehouse, Jacekdaa/stock-logistics-warehouse, Jarsa-dev/stock-logistics-warehouse, Jarsa/stock-logistics-warehouse, KDenisNoah/stock-logistics-warehouse, KeracusNan/stock-logistics-warehouse, KonaERP/stock-logistics-warehouse, LevelPrime/stock-logistics-warehouse, MYRCONSULTING/stock-logistics-warehouse, Michael-Ji/stock-logistics-warehouse, NeatNerdPrime/stock-logistics-warehouse, Nikul-Chaudhary/stock-logistics-warehouse, OCA-MUK/stock-logistics-warehouse, OCA/stock-logistics-warehouse, OmniaSolutions/stock-logistics-workflow, PESOL/stock-logistics-warehouse, Palpid/stock-logistics-warehouse, PlanetaTIC/stock-logistics-warehouse, QubiQ/stock-logistics-warehouse, Rajkumar-pondy/stock-logistics-warehouse, SanteLibre/stock-logistics-warehouse, Saran440/stock-logistics-warehouse, SequarSrl/stock-logistics-warehouse, SerpentConsultingServices/stock-logistics-warehouse, SetRac/stock-logistics-warehouse, SilvioGregorini/stock-logistics-warehouse, Studio73/stock-logistics-warehouse, TDu/stock-logistics-warehouse, TRESCLOUD/stock-logistics-warehouse, Tecnativa/stock-logistics-warehouse, Tempronics1/stock-logistics-warehouse, Tonow-c2c/stock-logistics-warehouse, Vauxoo/stock-logistics-warehouse, a0c/stock-logistics-warehouse, aaltinisik/stock-logistics-warehouse, acsone/stock-logistics-warehouse, adhoc-dev/stock-logistics-warehouse, ajaniszewska-dev/stock-logistics-warehouse, akretion/stock-logistics-warehouse, algiopensource/stock-logistics-warehouse, ananyagetachew/stock-logistics-warehouse, andrp92/stock-logistics-warehouse, ansinaesmejor/stock-logistics-warehouse, aospub/stock-logistics-warehouse, asphaltzipper/stock-logistics-warehouse, augustodinizl/stock-logistics-warehouse, aurestic/stock-logistics-warehouse, avanzosc/stock-logistics-warehouse, bmya/stock-logistics-warehouse, bodedra/stock-logistics-warehouse, brain-tec/stock-logistics-warehouse, brindsoft/stock-logistics-warehouse, camptocamp/stock-logistics-warehouse, coopiteasy/stock-logistics-warehouse, cubells/stock-logistics-warehouse, damdam-s/stock-logistics-warehouse, damendieta/stock-logistics-warehouse, dani-xtendoo/stock-logistics-warehouse, devang-dreambits/stock-logistics-warehouse, diagramsoftware/stock-logistics-warehouse, diegobgl/stock-logistics-warehouse, digitalsatori/stock-logistics-warehouse, dmsergio/stock-logistics-warehouse, dong-z/stock-logistics-warehouse, druidoo-dev/stock-logistics-warehouse, eLBati/stock-logistics-warehouse, ecosoft-odoo/stock-logistics-warehouse, enzymz/stock-logistics-warehouse, etobella/stock-logistics-warehouse, exosoftware/oca-stock-logistics-warehouse, factorlibre/stock-logistics-warehouse, fanha99/stock-logistics-warehouse, flotho/stock-logistics-warehouse, fraxnet/stock-logistics-warehouse, gbs1232061/stock-logistics-warehouse, gclauwae/stock-logistics-warehouse, gfcapalbo/stock-logistics-warehouse, grindtildeath/stock-logistics-warehouse, guewen/stock-logistics-warehouse, gurneyalex/stock-logistics-warehouse, hbrunn/stock-logistics-warehouse, hibou-io/oca-stock-logistics-warehouse, hinfo506/stock-logistics-warehouse, hoanganh7596/stock-logistics-warehouse, hzh0292/stock-logistics-warehouse, i-vyshnevska/stock-logistics-warehouse, jado95/stock-logistics-warehouse, jbaudoux/stock-logistics-warehouse, jimhoefnagels/stock-logistics-warehouse, joseernestomendez/stock-logistics-warehouse, josuf567/stock-logistics-warehouse, jriveros/stock-logistics-warehouse, kararaMohamed/stock-logistics-warehouse, kevinkhao/stock-logistics-warehouse, khaungyemin/stock-logistics-warehouse, killerops/stock-logistics-warehouse, kimbo23/stock-logistics-warehouse, kitsotik/stock-logistics-warehouse, kittiu/stock-logistics-warehouse, kmee/stock-logistics-warehouse, kos94ok-3D/stock-logistics-warehouse, kosz85/stock-logistics-warehouse, lbelorgey/stock-logistics-warehouse, leonidasthe300/stock-logistics-warehouse, lideritjnma/stock-logistics-warehouse, lkicska/stock-logistics-warehouse, lonelyleaves/stock-logistics-warehouse, ludolelarge/stock-logistics-warehouse, ming8910/stock-logistics-warehouse, mohamedndiaye/stock-logistics-warehouse, mohannadjamalhadi/stock-logistics-warehouse, mtfighting/stock-logistics-warehouse, muhrizky/stock-logistics-warehouse, murtuzasaleh/stock-logistics-warehouse, nabima/stock-logistics-warehouse, nikitavaghela/stock-logistics-warehouse, niulinlnc/stock-logistics-warehouse, nucleoosystem/stock-logistics-warehouse, o2deepak-zz/stock-logistics-warehouse, onurugur/stock-logistics-warehouse, patrickrwilson/stock-logistics-warehouse, piensom/stock-logistics-warehouse, presenceverte/stock-logistics-warehouse, prowine/stock-logistics-warehouse, raizs/stock-logistics-warehouse, redblow/stock-logistics-warehouse, rizagokay/stock-logistics-warehouse, roniap/stock-logistics-warehouse, royalline1/stock-logistics-warehouse, rwsdigital/stock-logistics-warehouse, sacodoo/stock-logistics-warehouse, sanube/stock-logistics-warehouse, sebalix/stock-logistics-warehouse, sematicshood/flectra, sergiocorato/stock-logistics-warehouse, sewisoft/stock-logistics-warehouse, smile-888/stock-logistics-warehouse, sodexis/stock-logistics-warehouse, sudhir-erpharbor/stock-logistics-warehouse, sunshineLhj/stock-logistics-warehouse, takinobori/oca-stock-logistics-warehouse, takobi-online/stock-logistics-warehouse, talway/stock-logistics-warehouse, tegin/stock-logistics-warehouse, trionohashmicro/stock-logistics-warehouse, unitek-solusi/OCA-stock-logistics-warehouse, ursais/stock-logistics-warehouse, valmarnet/stock-logistics-warehouse, vdedyukhin/stock-logistics-warehouse, wahello/stock-logistics-warehouse, wilkerfx/stock-logistics-warehouse, willmakenoise/stock-logistics-warehouse, xsk961224/stock-logistics-warehouse, xtendoo-corporation/stock-logistics-warehouse, zeroincombenze/stock-logistics-warehouse, and zzpgeorge/stock-logistics-warehouse

<h1 class="title">Stock Picking Procure Method</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/stock-logistics-warehouse/tree/14.0/stock_picking_procure_method"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_picking_procure_method"><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/153/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module adds the possibility to set the supply method to <em>Apply Procurement Rules</em> in the pickings, which is normally set to <em>Take From Stock</em> by default.</p> <p>This way, you can configure MTO flows triggered from the picking itself.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id1">Installation</a></li> <li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id3">Usage</a></li> <li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id5">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id6">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id1">Installation</a></h2> <p>This module is useless without either Odoo's <cite>mrp</cite> or <cite>purchase</cite> modules (or both). Depending on your needs you should install them in advance.</p> <a name="configuration"></a> <h2><a class="toc-backref" href="#id2">Configuration</a></h2> <p>This is an example scenario with two warehouses. WH2 will be allways supplied through WH1.</p> <p>Common steps to <cite>mrp</cite> and <cite>purchase</cite> procurements:</p> <ol class="arabic simple"> <li>Go to <em>Inventory &gt; Configuration &gt; Settings &gt; Warehouse</em> and set <em>Multi-Step Routes</em> on.</li> <li>Go to <em>Inventory &gt; Configuration &gt; Warehouse Management &gt; Warehouses</em></li> <li>Create <strong>WH1</strong> with either <em>Manufacture to Resupply</em> or <em>Buy to Resupply</em> this warehouse or both set.</li> <li>Create <strong>WH2</strong> setting off <em>Manufacture to Resupply</em> and <em>Buy to Resupply</em>. Set <strong>WH1</strong> as the <em>Resupply Warehouse</em>.</li> <li>Go to <em>Inventory &gt; Configuration &gt; Warehouse Management &gt; Routes</em> and click on the <em>Make To Order</em> one.</li> <li>Add a new <em>Procurement Rule</em> with these settings and save:<ul> <li>Name: <em>WH1 -&gt; WH2-MTO</em></li> <li>Action: <em>Pull From</em></li> <li>Operation Type: <em>WH1: Internal Transfers</em></li> <li>Source Location: <em>WH1/Stock</em></li> <li>Destination Location: <em>WH2/Stock</em></li> <li>Move Supply Method: <em>Take From Stock</em></li> <li>Propagation of Procurement Group: <em>Propagate</em></li> <li>Propagate cancel and split: <cite>True</cite></li> <li>Warehouse to Propagate: <em>WH1</em></li> </ul> </li> </ol> <p>Now, if you want to trigger a manufacture:</p> <blockquote> <ul class="simple"> <li>Create a stockable product with a BoM list.</li> <li>In the product's <em>Inventory &gt; Routes section</em> set <em>Make To Order</em> and <em>Manufacture</em> on.</li> </ul> </blockquote> <p>Or if you want to trigger a purchase:</p> <blockquote> <ul class="simple"> <li>Create a stockable product with a vendor.</li> <li>In the product's <em>Inventory &gt; Routes section</em> set <em>Make To Order</em> and <em>Purchase</em> on.</li> </ul> </blockquote> <a name="usage"></a> <h2><a class="toc-backref" href="#id3">Usage</a></h2> <p>After configuring you procurement rules and your product routes:</p> <ol class="arabic simple"> <li>Go to <em>Inventory &gt; Dashboard</em> and click on the <em>more options</em> icon (☰).</li> <li>Choose <em>New &gt; Planned Transfer</em>.</li> <li>Set an origin and destination that is considered in the routes procurement rules.</li> <li>Set <em>Supply Method</em> to <em>Apply Procurement Rules</em>.</li> <li>Set the products and quantities you want to supply.</li> <li>Save and click on <em>Mark as To Do</em>.</li> <li>Depending on the product's supply type a new MO or a new PO should be created.</li> </ol> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/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/stock-logistics-warehouse/issues/new?body=module:%20stock_picking_procure_method%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="#id5">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id6">Authors</a></h3> <ul class="simple"> <li>Tecnativa</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id7">Contributors</a></h3> <ul> <li><p class="first"><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:</p> <blockquote> <ul class="simple"> <li>David Vidal</li> <li>Pedro M. Baeza</li> <li>César A. Sánchez</li> </ul> </blockquote> </li> <li><p class="first">Kitti Upariphutthiphong &lt;<a class="reference external" href="mailto:kittiu&#64;ecosoft.co.th">kittiu&#64;ecosoft.co.th</a>&gt;</p> </li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id8">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>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_picking_procure_method">OCA/stock-logistics-warehouse</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>