Wednesday, November 13, 2024
4 changes · master
Resolved issues and error corrections
This change improves how Odoo finds text that needs translation when one translatable message appears inside another. It helps ensure more labels and messages are correctly included for translation, reducing missing translations in localized versions.
Original PR description
The current Babel library doesn't allow to extract gettext calls that are nested. Specifically:
- The Python extractor only supports a directly nested gettext call in another gettext call, like `_("Text %s", _("Nested"))`.
- The Javascript extractor doesn't supported nested calls at all.
In this commit, we patch both extraction functions, so they supported arbitrarily deep nested gettext calls, like e.g.
```python
_("Text %s", other_function(_("Deeply Nested")))
```
or the Javascript equivalent.
task-3940389This fixes a recent issue that caused automated checks to fail when web views handled monetary and date fields. It helps keep the user interface stable and prevents disruptions from incompatible field types.
Original PR description
Build errors in click all since #183882: see: https://runbot.odoo.com/runbot/build/70474087 build-error: 106152
A field used for links in the base system profiling area now uses the right format so URL links display and behave correctly. This helps users open related links reliably without changing business workflows.
Original PR description
This commit, change the field type from text to char to correctly use the url widget.
This fixes how certain money and date fields are handled in approval requests and rental sales orders. It helps ensure users see and enter these values consistently, reducing confusion and potential mistakes in day-to-day workflows.