Search 1.9 billion lines of Odoo code on GitHub

stock_back2back_order_proc

Author: Elico Corp
License: no license
Branch: 7.0
Repository: 2677460874/odoo-addons
Dependencies: procurement, purchase, sale, and stock
Languages: Python (380, 77.4%), XML (36, 7.3%), and reStructuredText (75, 15.3%)
Other branches: 6.0
Other repositories: 554513154/odoo-addons, Aletz-Arce/Elico-Corp-openerp-7.0, Brilliant-Solutions/openerp-7.0, DonCDS/openerp-7.0, Elico-Corp/odoo-addons, Elico-Corp/openerp-7.0, Gofekra/odoo-addons, Guobower/odoo-addons-7, JibenCL/odoo-addons, JoJoJoJoJoJoJo/odoo-addons, Kevin-GOgo/openerp-7.0, Kevin4577/odoo-addons, Nkirui/odoo-addons, OpenPymeMx/odoo-addons, OthmaneGhandi/openerp-7.0, Reinhard-sheng/odoo-addons, Rona111/openerp-7.0, SetRac/openerp-7.0, Stefano-Pedretti/odoo-addons, TheCloneMaster/odoo-addons-1, Ubaid-UrRehman/odoo-addons, UntilToMe/openerp-7.0, VitalPet/elico-corp, XXXXLM/odoo-addons, YogeshMahera-SerpentCS/odoo-addons, a0c/odoo-addons, a0c/openerp-7.0, abdtrust11/odoo-addons, abiy-ethio/openerp-7.0, aftabnaveed/openerp-7.0, ajite/openerp-7.0, akhdaniel/odoo-addons, arasty/openerp-7.0, aurestic/elico-corp-odoo-addons, aymanshow/odoo-addons, consultingerp/odoo-addons-3, diagramsoftware/elico-corp-odoo-addons, dingdechuan/openerp-7.0, duanyp1991/openerp-7.0, duanyp1991/stock-logistics-workflow, eksotama/odoo-addons-2, elicoidal/odoo-addons, elicoidal/openerp-7.0, holg/odoo-addons, jason156/odoo-addons-1, jijia-hao/odoo-addons, jlzhou/odoo-addons-1, jsilvestar/odoo-addons, kit9/odoo-addons, kossovo/openerp-7.0, kundeng/odoo-addons, lefilament/odoo-addons, likaiyuan/openerp-7.0, liuziquan/openerp-7.0, lonelysun/odoo-addons, m6519578/openerp-7.0, mbenyoub/server, molandtoxx/openerp-7.0, murtuzasaleh/odoo-addons, neoplacer/openerp-7.0, nikul-serpentcs/odoo-addons, odoocn/openerp-7.0, one2pret/odoo-addons-1, pablon1975/openerp-7.0, renugam/openerp-7.0, ruter-lyu/odoo-addons, seb-elico/odoo-addons, skmezanul/odoo-addons, sudhir-serpentcs/odoo-addons, tedi3231/openerp-7.0, tyu6/openerp-7.0, udayinfy/openerp-7.0, wanfgh/openerp-7.0, xuan139/openerp-7.0, yannicktudoret/openerp-7.0, yst726/odoo-addons, zhaohuaw/openerp-7.0, and zxmsdyz/openerp-7.0

<a class="reference external image-reference" 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.svg"> </a> <a name="stock-back-to-back-orders"></a> <h2>Stock Back-to-back orders</h2> <p>This module aims to change the original back-order logic of OpenERP in chained locations introducing true back-to-back orders.</p> <p>STANDARD OPENERP BACK-TO-BACK ORDER BEHAVIOR: Original behavior is not fully suitable to handle back-to-back backorders process (check &quot;back-to-back orders comparison.pdf&quot;): eg: Let's take the following example to understand the implemented difference: - One PO from a supplier for the full quantity (eg 100 PCE) and your supplier ships immediately only the available quantity which is 70 PCE. - 30 PCE are to be shipped later on. - Setup with following chained location: SUPPLIER =&gt; TRANSIT (Chained/Manual) =&gt; INPUT locations</p> <p>When PO is validated to TRANSIT location, - DN1 is created for 100 PCE (SUPPLIER to TRANSIT) - chained move DN2 is automatically created for 100 PCE (from TRANSIT to INPUT) When only partial quantity is shipped (eg 70 PCE): - DN1 is processed and shipped for 70 PCE (done state) - DN2 is kept with 100 PCE (in waiting state &quot;waiting that all replenishments arrive at location before shipping&quot;) - chained move DN3 is automatically created with 30 PCE (from SUPPLIER to TRANSIT) as back order of DN1.</p> <p>Several drawbacks make current behavior unappropriate: - Stock in the different locations are not reflecting real stocks. - This is due to the fact that original delivery note is kept in waiting state in input or output location until all incoming chained DN are processed. - For this reason as well, real stock in the warehouse is incorrect in our case and is only correct when all backorders are shipped impacting company stock visibility. - Documents (DN) are not following actual flow (one document missing)</p> <p>ENHANCED BACK-TO-BACK ORDER BEHAVIOR This modules replace standard OpenERP behavior by an enhanced back-to-back order workflow with the following behavior: - Within a chained location structure, all chained moves will be created for the full quantity (eg: 100 PCE), following standard OE behavior. (for how many chained location that has been created: if a second location is chained, an additional chained move is created) - Nevertheless, when a partial quantity is shipped in the original delivery note (eg: 70 PCE), all related chained moves are updated with this new quantity (70 PCES) for as many level as necessary (difference with standard behavior). - Backorders and related chained moves are created with the remaining quantities (eg: 30 PCE) - Automated and manual chained behavior are respected.</p> <p>Taking back our previous example (check as well &quot;back-to-back orders comparison.pdf&quot;):</p> <p>When PO is validated to TRANSIT location, - DN1 is created for 100 PCE (SUPPLIER to TRANSIT) - chained move DN2 is automatically created for 100 PCE (from TRANSIT to INPUT) When only partial quantity is shipped (eg 70 PCE): - DN1 is shipped to 70 PCE (done state) - DN2 is kept with 100 PCE (in waiting state &quot;waiting that all replenishments arrive at location before shipping&quot;) - chained move DN3 is automatically created with 30 PCE (from SUPPLIER to TRANSIT)</p> <p>When DN1 is partially shipped with 70 PCE: - DN2 quantity is changed to 70 PCE (and depending on stock marked as available since in our example it is set as manual). If automatic chained move, it would be automatically shipped according to DN1 shipment. - a back order DN3 is automatically created with 30 PCE (from SUPPLIER to TRANSIT), - chained move DN4 is automatically created with 30 PCE (from TRANSIT to INPUT)</p> <p>Please note: - In this case, workflow is closer to reality: all real stocks figures are correct and all relevant documents are created. - Later on, DN2 and DN4 can be shipped separately (as they are setup as manual in this example) - As many back order as necessary can be created: all chained moves are automatically updated and created accordingly - this behavior works as well in case of sales orders.</p> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/Elico-Corp/openerp-7.0/issues">https://github.com/Elico-Corp/openerp-7.0/issues</a>. In case of trouble, please check there if you issue has been already reported. if you spotted it first,help us smash it by providing detailed and welcomed feedback.</p> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Eric Caudal &lt;<a class="reference external" href="mailto:eric.caudal&#64;elico-corp.com">eric.caudal&#64;elico-corp.com</a>&gt;</li> <li>Yannick Gouin &lt;<a class="reference external" href="mailto:yannick.gouin&#64;elico-corp.com">yannick.gouin&#64;elico-corp.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://www.elico-corp.com"><img alt="Elico Corp" src="https://www.elico-corp.com/logo.png" /></a> <p>This module is maintained by Elico Corporation.</p> <p>Elico Corp is an innovative actor in China, Hong-Kong and Singapore servicing well known international companies and as well as local mid-sized businesses. Since 2010, our seasoned Sino-European consultants have been providing full range Odoo services:</p> <ul class="simple"> <li>Business consultancy for Gap analysis, BPM, operational work-flows review.</li> <li>Ready-to-use ERP packages aimed at starting businesses.</li> <li>Odoo implementation for manufacturing, international trading, service industry and e-commerce.</li> <li>Connectors and integration with 3rd party software (Magento, Taobao, Coswin, Joomla, Prestashop, Tradevine etc...).</li> <li>Odoo Support services such as developments, training, maintenance and hosting.</li> </ul> <p>Our headquarters are located in Shanghai with branch in Singapore servicing customers from all over Asia Pacific.</p> <p>Contact information: <a class="reference external" href="mailto:contact&#64;elico-corp.com">Sales</a></p>