datetime_scheduled_date
The send time on a scheduled message, opened through a dialog rather than a date picker. Its sibling in the same file offers a Remove button; this one deliberately does not.
August 27, 2026Updated September 7, 20265 min read
| Technical name | datetime_scheduled_date |
|---|---|
| Field types | datetime |
| Views | form |
| Module | mail, the Discuss module |
| Used in core | 1 occurrence, the scheduled message form in mail |
| Versions | Odoo 20.0, Odoo 19.0 |
| No-code setup | No. It writes a specific field name and pairs with a scheduling dialog |
| Alternatives | text_scheduled_date, datetime, date |
What the scheduled date button does
What this means for your team
Working examples
Two variants, three differences
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. Behavior identical on the development branch; only the props syntax changes. |
| Odoo 19.0 | Verified | First version, with scheduled messages. Verified against the shipped source. |
| Odoo 18.0 | Not available | Widget does not exist. |
| Odoo 17.0 | Not available | Widget does not exist. |
| Odoo 16.0 | Not available | Widget does not exist. |
Upgrade note. Both variants are new in Odoo 19, together with scheduled messages. There is nothing to migrate from earlier versions, where the feature did not exist.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| There is no way to clear the date | Intended. This variant sets the dialog as not removable, because a scheduled message needs a send time. Use the text variant if clearing must be possible. |
| The chosen date is not saved | The widget writes a hardcoded field name, which does not match the field it was placed on. Use it only on the field it was written for, or patch the write. |
| The value renders as invalid | The variant does not match the field's type; this one expects a datetime. Use the text variant on a text field. |
| The button stays highlighted after closing the dialog | The handler blurs it deliberately; a customization may have dropped that. Keep the blur call when overriding the click handler. |
| Options are ignored | The registration has no extractor. Nothing to configure here. |
| Missing widget error | The Discuss module is not installed in that database. Install Discuss, or use a plain datetime picker. |
Scheduled date button vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
datetime_scheduled_date | The send time on a scheduled message, where a time is mandatory | Opens the scheduling dialog without a remove option and writes a datetime directly |
| text_scheduled_date | The same dialog in the message composer | Stores text, and allows the schedule to be cleared |
| datetime | A general date and time value | A standard picker with no presets |
| date | A date without a time | No time component at all |
Frequently asked questions
Why can I not clear the scheduled date?+
What is the difference between the two scheduled date widgets?+
Can I use it on any datetime field?+
Does it take any options?+
Which versions have it?+
Messages that land when your customer is reading
Scheduled sending, templates and follow-up sequences are small settings that change response rates. We set up Odoo Discuss, email and the automation around them on versions 16 through 19.
Book a free consultation