Wednesday, November 30, 2022
5 changes · master
Resolved issues and error corrections
This change ensures important code quality checks continue to run across the full codebase, even as the project moves to a newer linting setup. It helps prevent basic JavaScript issues from slipping through in areas that may otherwise be skipped by the new tooling.
Original PR description
There is an eslint test that verify a bunch of basic rules, more functional than about the code style. As we are going toward a new linting system with the runbot that respect the eslint ignore file, we do still need those basic rules to be tested against the whole code base. We use eslint config files inheritance to avoid configuration duplication.
The internal lint test configuration was updated to match the version used by the development tooling. This helps prevent false failures in automated checks, reducing unnecessary disruption for development teams.
Original PR description
There are chances this file will be changed in the near futur. However, it needs to be the same ecmascript version as the tooling or the runbot starts to get red when it shouldn't, annoying some teams.
A Portuguese tax report line that appeared in the wrong language has been corrected to English. The Portuguese localization now also includes automatic multilingual support, making it easier for users to translate the chart of accounts when needed.
Original PR description
This commit fixes a non-English line of the Portuguese tax report. Moreover, it also adds `l10n_multilang` as a dependency of the module such that the CoA can automatically be translated to Portuguese if the user chooses to without installing it manually.
The project task warning bar now stays hidden when there is no planning overlap to report. This avoids confusing users with an empty or unnecessary alert and keeps task views cleaner.
Original PR description
Before this commit: - The warning alert bar was usually displayed even when planning_overlap field is empty. - planning_overlap is an Html field. In python, it was set to an empty string instead of False when no overlap warning to display. At the same time, in xml, it was compared to False instead of to an empty string, that's why the bar was usually displayed as the condition is usually verified. After this commit: - planning_overlap was set to False when no warning to display. task-3079231
This update makes the Documents list view easier to maintain alongside shared Odoo web components. It prevents future template changes in the core web interface from being blocked by overly narrow customization rules, reducing upgrade and integration friction.
Original PR description
The current xpath in the `ListRenderer.RecordRow` inheritance is too specific, which prevents the modification of the inherited template in `/web`. This commit replaces the specific xpaths in `ListRenderer.RecordRow` with more generic ones.