Search 1.9 billion lines of Odoo code on GitHub

website_sale_stock_available

Author: Tecnativa, Odoo Community Association (OCA)
License: AGPL-3
Branch: 16.0
Repository: brain-tec/e-commerce
Dependencies: stock_available, and website_sale_stock
Languages: HTML (373, 50.3%), PO File (114, 15.4%), Python (162, 21.8%), and reStructuredText (93, 12.5%)
Other branches: 12.0, 12.0-ocabot-merge-pr-360-by-pedrobaeza-bump-nobump, 12.0-ocabot-merge-pr-373-by-pedrobaeza-bump-nobump, 12.0-ocabot-merge-pr-449-by-dreispt-bump-nobump, 13.0, 13.0-ocabot-merge-pr-435-by-dreispt-bump-nobump, 13.0-ocabot-merge-pr-483-by-dreispt-bump-minor, 13.0-ocabot-merge-pr-499-by-pedrobaeza-bump-nobump, 13.0-ocabot-merge-pr-505-by-pedrobaeza-bump-nobump, 13.0-ocabot-merge-pr-508-by-pedrobaeza-bump-nobump, 13.0-ocabot-merge-pr-524-by-pedrobaeza-bump-nobump, 13.0-ocabot-merge-pr-617-by-pedrobaeza-bump-minor, 14.0, 14.0-ocabot-merge-pr-455-by-dreispt-bump-nobump, and 15.0
Other repositories: AITIC/e-commerce, CB-Gran-Canaria/e-commerce, Change2improve/e-commerce, Comunitea/e-commerce, ERPLibre/e-commerce, ForgeFlow/e-commerce, Gabinete-Digital/e-commerce, Ingeos/e-commerce, LeaMartinek/e-commerce, LevelPrime/e-commerce, NeatNerdPrime/e-commerce, NextERP-Romania/e-commerce, OCA-MUK/e-commerce, OCA/e-commerce, SeuMarco/e-commerce, Spearhead-Odoo/e-commerce, Strusovsky/e-commerce, TDu/e-commerce, TRESCLOUD/e-commerce, Tecnativa/e-commerce, TimotheeBa/e-commerce, Trust-Code/trustcode-addons, Vauxoo/e-commerce, acsone/e-commerce, adhoc-dev/e-commerce, agrista/odoo-e-commerce, akretion/e-commerce, anhvu-sg/e-commerce, antilhue/e-commerce, aurestic/e-commerce, bacgroup/e-commerce, camptocamp/e-commerce, celm1990/e-commerce, coopiteasy/e-commerce, daramousk/e-commerce, eLBati/e-commerce, fallewi/e-commerce, fcayre/e-commerce, gurneyalex/e-commerce, jctrey/e-commerce, jromeroarg/e-commerce, killvis/e-commerce, lideritjnma/e-commerce, likaiyuan/addons-jarsa, lithint/addons-jarsa, mamcode/e-commerce, mettadipa/e-commerce, moltisinc/e-commerce, myceliandre/e-commerce, noorealam96/e-commerce, samsagaz/e-commerce, sanube/e-commerce, sendalpegat/e-commerce, sodexis/e-commerce, tarteo/e-commerce, versada/e-commerce, wahello/e-commerce, wtaferner/e-commerce, and zeroheure/e-commerce

<h1 class="title">Website Sale Stock Available</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/OCA/e-commerce/tree/16.0/website_sale_stock_available"><img alt="OCA/e-commerce" src="https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_stock_available"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/113/16.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 the <em>Product Availability</em> module (technical name: <code>website_sale_stock</code>) so that for the eCommerce the <em>Available</em> quantity of a product is taken into account instead of the <em>free</em> quantity.</p> <p>Note that in the past the eCommerce availability was based in <em>Forecasted quantity</em>. This isn't true anymore from version 15.0.</p> <p>If a product is configured to <em>prevent sales if not enough stock</em> (see configuration section) and its page is accessed in the Website Shop, the availability messages will be based on the <em>Available</em> quantity instead of <em>Free</em> quantity. And also, the eCommerce won't allow you to buy more products than <em>Available</em> quantity (not <em>Free</em> quantity isn't 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 eCommerce if there is enough stock.</li> <li>Navigate to <em>Out-of-stock (continue selling)</em> field in the <em>Sales</em> tab and unset it.</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 (you might need extra modules). If you do not choose any, the value of <em>Available</em> quantity will be equal to <em>Forecasted</em> 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 eCommerce.</li> <li>Select a product that you has been previously configured to <em>prevent sales if not enough stock</em> for the web product page.</li> <li>Odoo doesn't allow you to add the product to the cart if <em>Available</em> quantity (not <em>Free to use</em> quantity) is equal or less than zero. Besides, availability messages will be based on the <em>Available</em> quantity instead of the <em>Free to use</em> quantity.</li> </ol> <img alt="Availability message" src="https://raw.githubusercontent.com/OCA/e-commerce/16.0/website_sale_stock_available/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_stock_available%0Aversion:%2016.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>Ernesto Tejeda</li> <li>Pedro M. Baeza</li> <li>David Vidal</li> </ul> </li> <li>Iván Todorovich</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/16.0/website_sale_stock_available">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>