Monday, June 24, 2024
7 changes
1 change
Resolved issues and error corrections
This fix makes an automated mail test more reliable by ensuring a starred message is fully loaded before it is deleted during testing. It helps reduce false test failures, supporting smoother validation and releases without changing user-facing behavior.
Original PR description
Before this PR, the `delete starred message updates counter` test was sometimes failing. It occurs when the message is deleted before it is loaded. This PR ensures we wait for the message to be loaded before deleting it. runbot-61305,62004
2 changes
Resolved issues and error corrections
New Belgian payroll contracts now show CP200 before PFI by default. This helps users pick the expected payroll structure more easily and reduces setup mistakes when creating contracts.
Original PR description
Purpose ======= Make CP200 come before PFI by default on new contracts.
4 changes
Resolved issues and error corrections
This update fixes a test in the Luxembourg tax reporting module that was not properly respecting tax lock date restrictions. The fix ensures the test will continue to work correctly after an upstream improvement to tax lock date validation. This is a maintenance update that prevents test failures and ensures the tax reporting system functions as intended.
Original PR description
Currently the tax lock date is not checked correctly in a test when posting a move. This problem is solved in the related community PR. This commit ensures the test does not fail after the community fix. To do this we just remove and re-introduce the tax lock date. community PR: https://github.com/odoo/odoo/pull/170475
New Belgian payroll contracts now show CP200 before PFI by default. This helps HR teams select the expected structure more easily and reduces the chance of choosing the wrong option.
Original PR description
Purpose ======= Make CP200 come before PFI by default on new contracts.
This update fixes a button contrast issue in the Sign module that was making text difficult to read. By removing an unnecessary styling class, the button now displays with proper contrast in both light and dark modes, improving the user experience without requiring any action from users.
Original PR description
This PR fixes a contrast issue on a primary button within the sign module due to a `text-white` class applied. The default button utility classes already provide a good contrast, meaning that adding extra class is not useful. To fix the issue, we simply remove the class from the button. task-3692048 | Light mode (`:focus` state) | Dark mode | |--------|--------| | <img alt="image" src="https://github.com/odoo/enterprise/assets/128030743/b73a2fe7-f802-4461-9015-16a2f4b46d92"> | <img alt="image" src="https://github.com/odoo/enterprise/assets/128030743/8354c78f-6525-4aef-9057-fdb706b3cd0d"> |
A recent system update automatically assigns a country to companies based on their chart template. This caused Peru sales tests to fail because document validation rules were unexpectedly triggered. This fix updates the tests to properly handle the new document requirement validation.
Original PR description
With this commit: https://github.com/odoo/odoo/pull/166896/commits/90088bd97ec096fa8c360868e3a1addef91bd4ce We automatically add the country of the chart template to the company if the company does not have one by default. This change had a side effect that in the context of the test "TestPeSales," the boolean field l10n_latam_use_documents on the journal was now set to True. The consequence of that was that the constraint _check_l10n_latam_documents was breaking since this constraint checks that for the posted moves that use documents, the move must have a document type and a document number. task: 3945833
This update configures the translation system to properly export Swiss payroll-related text for translation into other languages. By adding these terms to the translation configuration, the Swiss payroll module can now be fully localized, ensuring that payroll documents and communications are available in multiple languages for international teams.