OdooWiki OCA HUB

Sale Commitment Lead Time

sale_commitment_lead_time folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

This module allows you to know if the time to prepare a sales order has been respected, based on an order limit time defined on the company. For example, in e-commerce, some companies agree to prepare a customer order the same day if it has been confirmed before a certain time.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Lets you set a daily order cut-off hour and timezone per company, then automatically flags each sales order as delivered on time when it was confirmed before that hour and shipped within one day.

This module adds a preparation-time check to sales orders. In the Sales settings, under the sales order dates section, you can enable "Check preparation time" and then fill in an "Order limit hour (HH:00)" and a "Timezone". The cut-off hour means an order confirmed before that hour is expected to be prepared the same day.

Once enabled, each sales order gets an "On time delivery" flag that Odoo computes automatically from the order's confirmation date and its effective (delivery) date. The confirmation time is converted to the company timezone, and the order is marked on time when it was confirmed before the limit hour and the delivery happened within one day. The flag is stored on the order and shown on the sales order form, but only when the preparation-time check is active for the company.

The setting is stored per company and also kept in system parameters, so it applies consistently. The module touches res.company, res.config.settings and sale.order, and adds fields to the Sales settings screen and the sales order form. It does not create new menus or reports.

Depends on

sale_managementsale_stock
Models and fields (3)
  • sale.order · extends an existing modelon_time_delivery (On time delivery), check_preparation_time (Check preparation time)
  • res.company · extends an existing modeltz (Timezone), order_limit_hour (Order limit hour (HH:00)), check_preparation_time (Check preparation time)
  • res.config.settings · extends an existing modeltz (Timezone), order_limit_hour (Order limit hour (HH:00)), check_preparation_time (Check preparation time)

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 12.0

To configure this module, you need to:

  • Go to Sales > Configuration > Settings.
  • In the Shipping Information, the 'Delivery date' option must be ticked in order to tick the 'Check preparation time' option and fill in the fields 'Order limit hour' and 'Timezone'.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.