Skip to main content

Display 'Free qty' in shop online instead 'Quantity On Hand'

Project description

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 ‘Free’ 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 ‘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.

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

  • ADHOC SA

Contributors

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo13_addon_website_sale_free_qty-13.0.1.0.4.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_website_sale_free_qty-13.0.1.0.4.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e4bb3557f860636dcbb018a300ef4e337fccb9f1d27b4619a2c65adc3e4abba
MD5 3ab4635647e314ecbbbfbfdce5b3c128
BLAKE2b-256 5ea996f485737697ecf7e3c89759ee765f1efacbfb20c9f5fda7746009ea02b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page