OdooWiki OCA HUB

Sale commitment date mandatory

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

With this module, the delivery commitment date on order can be configured to be mandatory and you cannot create sale order lines unless commitment_date is filled.

Be careful, we have an issue on this module: https://github.com/OCA/sale-workflow/issues/1901

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets you make the Delivery commitment date mandatory on sales orders. When enabled, the date is pre-filled with the current date and order lines stay locked until a commitment date is set.

This module adds a company-level setting so that the Delivery commitment date on sales orders can be made mandatory.

Where it appears: - In Sales settings, under the shipping options, a new checkbox "Commitment date mandatory" lets you turn the rule on or off for the company. - On the sales order form, the Delivery commitment date field becomes required when the setting is active.

Automatic behaviour: - When the setting is enabled, a new sales order is pre-filled with the current date and time as the commitment date, so the field is not empty by default. - The order lines area is locked (read-only) while the commitment date is empty and the setting is on, so users cannot add or edit lines until they fill in the commitment date. Once a date is set, lines become editable again. - The rule is driven by a company setting, so it applies to all sales orders of that company.

Areas touched: - Sales orders (sale.order) and their form view. - Company configuration (res.company) and the general settings screen (res.config.settings).

Note: the module's own README points to a known issue (OCA issue 1901), so behaviour may be affected in some cases; the code above is the source of truth for what is implemented.

Depends on

sale
Models and fields (3)
  • sale.order · extends an existing modelcommitment_date, commitment_date_required
  • res.company · extends an existing modelsale_commitment_date_required (Delivery commitment date mandatory)
  • res.config.settings · extends an existing modelcommitment_date_required (Commitment date mandatory)

Text generated by AI (DeepSeek) from reading the Odoo 14.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 14.0

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

terminal Installation and usage

OCA documentation · Odoo 14.0

To make Delivery commitment date mandatory on sale order forms, you have to enable the option Delivery commitment date mandatory in the Shipping section of the Sale / Configuration / Settings panel.

No verified information in OCA: Installation, Configuration.

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.