Tuesday, October 22, 2024
3 changes · master
Enhancements to existing features
The referral app’s sample reward data and images have been refreshed to reference Odoo instead of external companies. This keeps demonstration content aligned with Odoo branding and avoids showing third-party brand references in demo environments.
Original PR description
The demo data are updated to make reference to odoo and remove external reference to other companies. task-4071950
This update switches many Odoo Enterprise apps to the newer translation system and marks the older approach as deprecated. It helps keep the platform easier to maintain and prepares for future simplification, with little expected day-to-day impact for users.
Original PR description
This commit replaces the use of `core.{_t,_lt}` with its equivalent from `@web/core/l10n/translation`. Calling these functions will now result in a warning.
This paves the way for the unification of `_t` and `_lt` into a single function, and the removal of the legacy `web.translation`.
Community: https://github.com/odoo/odoo/pull/124285The appointment module no longer applies a date-only display option to fields that store both date and time. This prepares the system for stricter checks on unsupported field settings and helps reduce hidden configuration issues.
Original PR description
This commit removes the date widget on datetime fields. The widget is ignored if used on a datetime fields, see the tests : `DatetimeField with date/datetime widget (with day change) does not care about widget` and `DatetimeField with date/datetime widget (without day change) does not care about widget.` This commit is part of a bigger task, that aim to raise an error if a widget is used in an unsupported field type, in this case the widget date, will only support the date type fields. task-id: 4224192