OdooWiki OCA HUB

Website Sale Stock Available Display

website_sale_stock_available_display folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

This module extends the functionality of website sale stock module to allow to display available stock in website products and allow to buy if not enough stock. Also re-use the field Custom Message for inform to customer of any message when stock is less than 0.0 units.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Lets you show the available stock on your online shop product and cart pages, and keep selling even when there is not enough stock. You can also set a custom message shown to customers when stock is zero or negative.

This module adds a new stock display option for products sold on your website. On a product form, in the inventory availability setting, you can now choose "Show inventory on website and allow sales if not enough stock". When this option is selected, the online shop shows the available quantity for that product.

  • On the product page and in the shopping cart, customers see a message such as "10 Units in stock" in green when stock is positive, or "0 Units in stock" in red when stock is zero or negative.
  • Negative quantities are never shown; the display stops at zero.
  • If stock is zero or negative, the custom message field on the product is shown to the customer (for example "Available in 10 days").
  • The same setting is available in the website settings, so it can be applied globally.

The module works together with the standard website sale stock features and affects product templates, website settings, and the online shop cart and product availability displays. It does not add new menus; the option appears inside existing product and website configuration screens.

Depends on

website_sale_stock
Models and fields (2)
  • product.template · extends an existing modelinventory_availability
  • res.config.settings · extends an existing modelinventory_availability

Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 13.0
  • Go to 'Website > Products > Products' and select a Product.
  • Set Show inventory on website and allow sales if not enough stock in inventory availability field in the "eCommerce" tab.
  • You can set a custom message that appears when available stock is less than 0.0 units.
  • Go to Website Shop.
  • Click in any product that you know that no stock available.
  • You will see '0 units in stock' but you will buy this product.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.