mrp_remaining_days_unformatted
The remaining days widget with its badge taken off. Same relative dates, plain text, because a manufacturing list already has enough color in it.
| Technical name | mrp_remaining_days_unformatted |
|---|---|
| Field types | date, datetime |
| Views | list, form |
| Module | mrp, the Manufacturing app |
| Used in core | Deadline columns in the Manufacturing views |
| Versions | Odoo 20.0, Odoo 19.0 |
| No-code setup | No. It is set in view XML and depends on module-specific data |
| Alternatives | remaining_days, date, formatted_date, daterange |
What the remaining days, plain does
What this means for your team
Supported options in Odoo 19
| Option | Type | What it does |
|---|---|---|
the parent's options | not inherited | The descriptor declares its own display name and supported types rather than spreading the remaining days descriptor, so the parent's declared options are not available here.(since Odoo 19.0) |
Not spreading the parent descriptor has a consequence. Anything the remaining days widget declares as an option is not declared here, so tooling will not offer it and the extractor does not read it. The component's own behavior is inherited; the descriptor's is not.
Working examples
Six lines, and one descriptor it deliberately does not spread
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. Same behavior under a relative-date name on the development branch. |
| Odoo 19.0 | Verified | First version. 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. The widget is new in Odoo 19. Coming from Odoo 18 there is nothing to migrate. Going forward there is: the name changes on the development branch, and because an unknown widget name falls back to the field's type, a view left unchanged loses the relative wording.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| The badge is missing | Intended. Removing it is the entire purpose of this widget. Use the remaining days widget if the badge is wanted. |
| An option that works on remaining days does nothing | The descriptor does not spread the parent's, so its options are not declared or extracted. Use the parent widget if you need that option. |
| The wording differs from another screen | It should not; the phrasing is inherited from the same component. Check whether the other screen uses a plain date field. |
| The column shows a plain date after upgrading | The widget is renamed on the development branch and the old name no longer resolves. Update the view to the new widget name. |
| It will not attach to my field | Two date types are declared as supported. Point it at a date or datetime field. |
| Missing widget error | The manufacturing module is not installed in that database. Install Manufacturing, or use the remaining days widget. |
Remaining days, plain vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
mrp_remaining_days_unformatted | Deadlines on lists that already carry plenty of color | The remaining days wording with the badge removed, and the parent's options not inherited |
| remaining_days | Deadlines where a colored badge helps | Keeps the badge and its declared options |
| date | Exact dates | No relative wording at all |
| formatted_date | A specific date format | Formatting rather than relative phrasing |
| daterange | A start and end pair | Two dates rather than one deadline |
Frequently asked questions
How does it differ from the remaining days widget?+
Why remove the badge?+
Do the parent's options work here?+
What happens in Odoo 20?+
Which field types does it accept?+
Planning screens where the exceptions actually stand out
Color, badges and priority markers all compete for the same attention, and a busy list ends up saying nothing. We tune Odoo planning and manufacturing views so the signal survives, on versions 16 through 19.
Book a free consultation