odoo/documentation#17998
Created by Julien Coppin (jucop)
Blocked
- Merge method
- Review
-
CI
- ci/documentation: (runtime 938s)
- ci/codeowner_coverage: (runtime 3s)
- Linked pull requests
- label
- odoo-dev:master-accurate-remaining-days-6175442-jucop
- head
- 65396f7bc54bb9134fc288b505671304aa73d80c
| odoo/odoo | odoo/enterprise | odoo/upgrade | odoo/documentation | |
|---|---|---|---|---|
| master | #263051 missing statuses missing r+ | #116407 missing statuses missing r+ | #10152 missing r+ | #17998 missing r+ |
Master accurate remaining days 6175442 jucop
Luxon is not very accurate when the field is close to today: If today is Apr 30, so a deadline set to May 1 will be displayed as "Next month". In practice, it is not wrong, but it is not very accurate.
The widget name 'RemainingDaysField' was misleading as it implies a focus on future countdowns, whereas the widget is also used for past dates.