Estimated Delivery Date on the Shop: from stock and vendor lead times
by Aerya IT Solutions https://aerya.net$ 9.86
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Estimated Delivery Date on the Shop: from stock and vendor lead times
The product page and the cart tell the customer when the order arrives: the product's lead time and your handling days when it is in stock, plus the vendor's delivery lead time when you sell it without stock. In working or calendar days, in the visitor's language.
Stock checked for the quantity in the cart
Vendor lead time and safety days when out of stock
Working days (Monday to Friday) or calendar days
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.
Sold without stock: the vendor's lead time counts. Screenshots on this page: Odoo 17 Enterprise, data of a fictitious company.
on Odoo 17, 18, 19 and 20, with the pages opened as visitors and customers
no warnings, on each version
Community and Enterprise
In stock or from the vendor
In stock, the estimate is the product's Customer Lead Time plus the website's Handling Days. Not in stock but sold anyway, it adds the Delivery Lead Time of the vendor line that applies and your Vendor Safety Days.
Odoo's own stock messages (only 3 left, out of stock) stay as they are: the estimate comes under them and follows the variant and the quantity the customer picks.

In the cart too
Each cart line shows its own estimate for the quantity ordered, so a customer who orders more than you have sees the longer date before paying.

Four settings
Website settings, Shop: Delivery Estimate on or off, handling days, vendor safety days and working days only.

Small shop utilities by Aerya
The problem: the customer does not know when it arrives
A shop shows a price and a Buy button, and the customer asks themselves when the parcel comes. Odoo shows how many items are left, or that the product is out of stock, but not a date. Without one, customers write to ask, or they leave for a shop that says it. Giving a date by hand does not work either, because it depends on the stock, the quantity ordered and the vendor.
What the module does
Estimated Delivery Date on the Shop shows the estimated delivery date on the product page and on each line of the cart. It is worked out from the product's lead time, the stock and the vendor's delivery lead time, in the visitor's language, for example: In stock: delivered in about 3 days, by Wednesday 11 November.
Step by step
- Install the module next to the eCommerce app with stock (website_sale_stock). The estimate is on by default.
- Fill in the lead times. Set the Customer Lead Time on the product and the Delivery Lead Time on its vendor line.
- Adjust the settings in Website > Configuration > Settings, Shop, Delivery Estimate: handling days, vendor safety days, working days only.
- The customer opens a product. The estimate follows the variant and the quantity they pick, and counts what is already in the cart.
- The customer opens the cart. Each line shows its own estimate for the quantity ordered, so a customer who orders more than you have sees the longer date before paying.
The rule
- In stock (the free quantity covers the quantity asked, or the product is not tracked in stock): the Customer Lead Time of the product plus the Handling Days of the website.
- Not in stock, sold anyway (Continue selling when out of stock): add the Delivery Lead Time of the vendor line that applies (first by sequence, of the website's company or of no company, valid today) and the Vendor Safety Days of the website.
- Not in stock and no vendor line, or not sold without stock: no estimate. Odoo's own out-of-stock message stays.
- Days are counted as working days (Monday to Friday) or as calendar days, as you choose in the settings.
Settings and access
Four settings in Website > Configuration > Settings, Shop, Delivery Estimate: the estimate on or off, the handling days, the vendor safety days, and working days only. The defaults are one handling day, one vendor safety day and working days. The module adds no menu and no access group.
What it does not do
- It does not skip public holidays or follow the warehouse calendar. Only weekends are skipped.
- It does not use the transit time of the delivery method: the estimate is the shipping date plus the handling days you set.
- Services show no estimate in the cart.
- It does not repeat the stock messages of Odoo (only a few left, out of stock). They stay as they are, and the estimate comes under them.
Requirements
Odoo 17, 18, 19 and 20, Community and Enterprise. It needs the Odoo eCommerce app with stock (website_sale_stock). It has Python code, so it runs on Odoo.sh and on-premise, not on Odoo Online. Translations: Spanish and Romanian.
Questions
Does it follow the variant and the quantity?
Yes. The estimate changes with the variant and the quantity the customer picks, and counts what is already in the cart.
What if the product is out of stock?
If you sell it anyway and a vendor line applies, the vendor's lead time and safety days are added. Otherwise no estimate is shown and Odoo's message stays.
Can I count calendar days?
Yes. Switch off working days only in the Delivery Estimate settings.
Is the date shown in the visitor's language?
Yes. The text is built on the server in the language of the visitor.
What happens if I uninstall it?
The estimates disappear from the product page and the cart. Nothing else changes.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 17, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Invoicing (account) • Discuss (mail) • Inventory (stock) • Website (website) |
| Lines of code | 213 |
| Technical Name |
aerya_website_stock_availability |
| License | OPL-1 |
| Website | https://aerya.net |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module