v 14.0 Third Party 349
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies eCommerce (website_sale)
Discuss (mail)
Invoicing (account)
Inventory (stock)
Website (website)
Community Apps Dependencies
Lines of code 410
Technical Name website_sale_stock_available
LicenseAGPL-3
Websitehttps://github.com/OCA/e-commerce
Versions 14.0 12.0 13.0 15.0 16.0
You bought this module and need support? Click here!

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
  • Iván Todorovich

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
by
Tareq
on 7/12/23, 6:18 PM



by
Tareq
on 7/12/23, 6:10 PM

I get this error after install this modules 


خطأ:


تتبع الأثر:
Error: undefined is not an object (evaluating 'dict['record'].show_on_hand_qty_status_button.raw_value')
anonymous
_render@https://medwhite.sa/web/static/lib/qweb/qweb2.js:459:63
render@https://medwhite.sa/web/static/lib/qweb/qweb2.js:451:33
_render@https://medwhite.sa/web/static/lib/qweb/qweb2.js:481:35
render@https://medwhite.sa/web/static/lib/qweb/qweb2.js:451:33
_render@https://medwhite.sa/web/static/src/js/views/kanban/kanban_record.js:354:46
start@https://medwhite.sa/web/static/src/js/views/kanban/kanban_record.js:55:77
https://medwhite.sa/web/static/src/js/core/class.js:90:43
promiseReactionJob@[native code]


by
Oumaima Ezzine
on 1/31/23, 5:10 PM

Hi there ! Is there a possibility to get this module in the 15v? Thank you


Need support
by
Dipole
on 7/22/22, 3:12 AM

Hi, please advise - we need support installing the module! Thank you!