Search 1.9 billion lines of Odoo code on GitHub

purchase_compute_order

Author: GRAP, Druidoo
License: AGPL-3
Branch: 20220905_pre
Repository: trobz/odoo-production
Dependencies: base, decimal_precision, product_average_consumption, purchase, purchase_discount, and purchase_package_qty
Languages: PO File (399, 21.0%), Python (1009, 53.0%), XML (442, 23.2%), and reStructuredText (53, 2.8%)
Other branches: 12.0, 12.0_dev, 12.0_migrate_shift_operations, 20180112, 20180119, 20180126, 20180202, 20180209, 20180302, 20180309, 20180323, 20180330, 20180406, 20180413, 20180420, 20180504, 20180511, 20180518, 20180525, 20180601, 20180608, 20180615, 20180622, 20180629, 20180706, 20180713, 20180720, 20180727, 20180727-1, 20180803, 20180810, 20180817, 20180824, 20180831, 20180907, 20180914, 20180921, 20180928, 9.0, 9.0-fix-reconcile, 9.0-memberspace-20180921, 9.0-template-recurrence, 9.0_S#210419, 9.0_bk, 9.0_deployment, 9.0_upstream_odoo_core_2c75ad396f3e15090acc67231fbd1fcd6fa4e571, 9.0_yassine, F#23633, F#23811, F#25715, F#25720_3, F#25759, F#25759_1, F#25770_2, F#25812, F#26146_1, F#26729_2, F#26743, F#27571_IMP, F#27960, F#27961, F#27961_1, F#29078, F#29400, F#29760_newest, and F#30036
Other repositories: AwesomeFoodCoops/odoo-production, DITIntl/odoo-production, Groupe-Informatique-LaCoopSurMer/odoo-production, Otsokop/odoo-production, ProJobless/odoo-addons-grap, VitalPet/odoo-addons-grap, anhvu-sg/odoo-production, azmeuk/odoo-production, babatoko/odoo-production, beloeuvre/odoo-production, chetanrdhaduk/odoo-production, demain-supermarche/odoo-production, diassynthesis/odoo-addons-grap, druidoo/FoodCoops, dzungtran89/odoo-production, estevebadia/odoo-production, fjouatte/odoo-production, halgandd/odoo-production, hilarak/odoo-production, iceship/odoo-addons-grap, jweste/odoo-production, krunal267/odoo-production, lachouettecoop/odoo-production, legalsylvain/odoo-production, mathieuvatel/odoo-production, mszinte/odoo-production, mulaudzicalvin/odoo-production, nthnnl/odoo-production, odoo-modules/odoo-production, petrus-v/odoo-foodcoops, phuctranerp/odoo-production, rihene-abdelwahed/odoo-production, sc4you/odoo-production, siddharth7815/odoo-production, sprevot44/odoo-production, suningwz/odoo-production, supercoopbdx/odoo-production, superquinquin/odoo-production, ttpphuctran/odoo-production, vidtsin/odoo-production, and yuntux/odoo-production

<h1 class="title">Discounts in product supplier info</h1> <p><a class="reference external image-reference" 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 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.png" /></a> <a class="reference external image-reference" href="https://github.com/druidoo/FoodCoops/tree/12.0"><img alt="badge3" src="https://img.shields.io/badge/github-OCA%2Fpurchase_compute_order-lightgray.png?logo=github" /></a></p> <blockquote> This module helps you to decide what you have to buy.</blockquote> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <p><strong>Provide tools to help a purchaser during the purchase process.</strong></p> <blockquote> <ul class="simple"> <li>Go to <strong>Purchase &gt; Purchase &gt; Computed Purchase Order</strong>, Create a new Compute Purchase Order (CPO)</li> <li>Select a Supplier</li> <li>Check the boxes to tell if you want to take into account the virtual stock or the draft sales/purchases.</li> <li><dl class="first docutils"> <dt>Use the button 'Get products and stocks' to import the list of products you can purchase to this supplier (ie: products that have a product_supplierinfo for this partner). It especially calculates for each product:</dt> <dd><ul class="first last"> <li>the quantity you have or will have;</li> <li>the average_consumption, based on the stock moves created during last 365 days;</li> <li>the theoretical duration of the stock, based on the precedent figures.</li> </ul> </dd> </dl> </li> <li>Unlink the products you don't want to buy anymore to this supplier (this only deletes the product_supplierinfo)</li> <li>Add new products you want to buy and link them (this creates a product_supplierinfo)</li> <li>Modify any information about the products: supplier product_code, supplier product_name, purchase price, package quantity, purchase UoM.</li> <li>Modify the calculated consumption if you think you'll sell more or less in the future.</li> <li>Add a manual stock quantity (positive if you will receive products that are not registered at all in Odoo, negative if you have not registered sales)</li> <li>Click the &quot;Update Products&quot; button to register the changes you've made into the product supplierinfo.</li> <li>Check the Purchase Target. It's defined on the Partner form, but you still can change it on each CPO.</li> <li>Click the button 'Compute Purchase Quantities' to calculate the quantities you should purchase. It will compute a purchase order fitting the purchase objective you set, trying to optimize the stock duration of all products.</li> <li>Click the &quot;Make Purchase Order&quot; button to convert the calculation into a real purchase order.</li> </ul> </blockquote> <dl class="docutils"> <dt>Possible Improvements:</dt> <dd><ul class="first last simple"> <li>offer more options to calculate the average consumption;</li> </ul> </dd> </dl> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/druidoo/FoodCoops/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/druidoo/FoodCoops/issues/new?body=module:%20purchase_compute_order%0Aversion:%2011.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="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>Druidoo</li> <li>Julien WESTE</li> <li>Sylvain LE GAL</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Druidoo &lt;<a class="reference external" href="https://www.druidoo.io">https://www.druidoo.io</a>&gt;</li> <li>Julien WESTE</li> <li>Sylvain LE GAL (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id6">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>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>