Display 'Available to promise' in shop online instead 'Quantity On Hand'
Project description
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:
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:
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.
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.
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:
Go to your Website shop.
Select a product that you has previously configured to ‘prevent sales if not enough stock’ for the web product page.
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.
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Ernesto Tejeda
Pedro M. Baeza
Maintainers
This module is maintained by the OCA.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo12_addon_website_sale_stock_available-12.0.1.0.3-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_website_sale_stock_available-12.0.1.0.3-py3-none-any.whl
- Upload date:
- Size: 197.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82987736d70d08b30ea5653b3ddec2490ee6ca206fa5ac94dcd2c154b2ad71ab |
|
MD5 | 0d40c6cd1dd361dc3566f4848ac2423c |
|
BLAKE2b-256 | 7c544940a36850275836501b3f66aef438bf707ae45fcc0308ae8fd1c73ccdf6 |