Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Website Sale Stock Available

Beta License: AGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

This module extends the functionality of ‘Product Availability’ module (Technical name: website_sale_stock) so that for the ‘Website shop’ the ‘Available’ quantity of a product is taken into account instead of ‘Forecasted’ quantity.

This image shows where you can see those quantities:

Product quantities

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).

Table of contents

Configuration

To configure this module, you need to:

  1. Go to Inventory > Master Data > Products and edit a product that you only want to sell in the website shop if there is enough stock.

  2. Navigate to ‘Availability’ field in the ‘eCommerce’ tab and set one of these options:

    • Show inventory on website and prevent sales if not enough stock

    • Show inventory below a threshold and prevent sales if not enough stock.

  3. Go to Inventory > Configuration > Settings, navigate to Stock available to promise section and set the desired option. If you do not choose any, the value of ‘Available’ quantity will be equal to ‘Forecasted’ quantity.

Usage

To use this module, you need to:

  1. Go to your Website shop.

  2. Select a product that you has previously configured to ‘prevent sales if not enough stock’ for the web product page.

  3. Odoo doesn’t allow you to add the product to the car if ‘Available’ quantity (not ‘Forecasted’ quantity) is equal or less than zero. Besides, availability messages will be based on the ‘Available’ quantity instead of the ‘Forecasted’ quantity.

Availability message

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:

    • Ernesto Tejeda

    • Pedro M. Baeza

    • Víctor Martínez

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

This module is part of the OCA/e-commerce project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo13-addon-website-sale-stock-available 13.0.1.0.1.dev8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo13-addon-website-sale-stock-available 13.0.1.0.1.dev8
File Interpreter ABI Platform Actions
odoo13_addon_website_sale_stock_available-13.0.1.0.1.dev8-py3-none-any.whl Python 3 none any Details for odoo13_addon_website_sale_stock_available-13.0.1.0.1.dev8-py3-none-any.whl

Release files / odoo13_addon_website_sale_stock_available-13.0.1.0.1.dev8-py3-none-any.whl

Download URL odoo13_addon_website_sale_stock_available-13.0.1.0.1.dev8-py3-none-any.whl
Size 198.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2d8870eb12f87e5b755817deb9dc74c28bf92ad8d9c7299866681981390553c
BLAKE2b-256 checksum
How to use checksums
089d8d0433e6ab023a2fb9e5b630805d5860f4062c9b6992ccfb6eb7af0e0c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for odoo13-addon-website-sale-stock-available 13.0.1.0.1.dev8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page