Search 1.9 billion lines of Odoo code on GitHub

website_sale_free_qty

Author: ADHOC SA, Odoo Community Association (OCA)
License: AGPL-3
Branch: 13.0
Repository: acsone/e-commerce
Dependencies: website_sale_stock
Languages: HTML (379, 59.1%), PO File (20, 3.1%), Python (149, 23.2%), and reStructuredText (93, 14.5%)
Other repositories: AITIC/e-commerce, Change2improve/e-commerce, Comunitea/e-commerce, LevelPrime/e-commerce, OCA/e-commerce, Spearhead-Odoo/e-commerce, Tecnativa/e-commerce, adhoc-dev/e-commerce, agrista/odoo-e-commerce, brain-tec/e-commerce, camptocamp/e-commerce, gurneyalex/e-commerce, killvis/e-commerce, and wahello/e-commerce

<h1 class="title">Website Sale Free Qty</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/e-commerce/tree/13.0/website_sale_free_qty"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-website_sale_free_qty"><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/113/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module extends the functionality of 'Product Availability' module (Technical name: website_sale_stock) so that for the 'Website shop' the 'Free' quantity of a product is taken into account instead of 'Forecasted' quantity.</p> <p>This image shows where you can see those quantities:</p> <img alt="Product quantities" src="https://raw.githubusercontent.com/OCA/e-commerce/13.0/website_sale_free_qty/static/description/product_quantities.png" style="width: 600px;" /> <div class="line-block"> <div class="line"><br /></div> </div> <p>If a product is configured to 'prevent sales if not enough stock' (see configuration section) and its page is accessed in the Website Shop, the availability messages will be based on the 'Available' quantity instead of 'Forecasted' quantity. And also, the Website shop wont allow you to buy more products than 'Available' quantity (not 'Forecasted' quantity is taken into account).</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> <p>To configure this module, you need to:</p> <ol class="arabic simple"> <li>Go to <em>Inventory &gt; Master Data &gt; Products</em> and edit a product that you only want to sell in the website shop if there is enough stock.</li> <li>Navigate to 'Availability' field in the 'eCommerce' tab and set one of these options:<ul> <li>Show inventory on website and prevent sales if not enough stock</li> <li>Show inventory below a threshold and prevent sales if not enough stock.</li> </ul> </li> <li>Go to <em>Inventory &gt; Configuration &gt; Settings</em>, navigate to <em>Stock available to promise</em> section and set the desired option. If you do not choose any, the value of 'Available' quantity will be equal to 'Forecasted' quantity.</li> </ol> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>To use this module, you need to:</p> <ol class="arabic simple"> <li>Go to your Website shop.</li> <li>Select a product that you has previously configured to 'prevent sales if not enough stock' for the web product page.</li> <li>Odoo doesn't allow you to add the product to the car if 'Free' quantity (not 'Forecasted' quantity) is equal or less than zero. Besides, availability messages will be based on the 'Free' quantity instead of the 'Forecasted' quantity.</li> </ol> <img alt="Availability message" src="https://raw.githubusercontent.com/OCA/e-commerce/13.0/website_sale_free_qty/static/description/availability_message.png" style="width: 600px;" /> <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/e-commerce/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/e-commerce/issues/new?body=module:%20website_sale_free_qty%0Aversion:%2013.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>ADHOC SA</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.adhoc.com.ar">ADHOC SA</a>:<ul> <li>Nicolas Mac Rouillon</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>This module is part of the <a class="reference external" href="https://github.com/OCA/e-commerce/tree/13.0/website_sale_free_qty">OCA/e-commerce</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>