Wednesday, April 1, 2026
9 changes · master
Resolved issues and error corrections
Fixed a display issue in the Australian payroll ATO submission wizard where the checkbox for accepting Terms & Conditions could become misaligned with its text depending on window width. The checkbox now stays properly aligned on the same line as the text, improving the user experience when submitting payslips or payruns to the Australian Tax Office.
Original PR description
- Step to reproduce: with l10n_au_hr_payroll_account installed and validated payslips or payruns click "Sign & Submit to ATO" -> wizard opens with checkbox to accept T&C, mght be misaligned depending on window width. - Cause: if text fills full width then checkbox is moved above. - Solution: using d-flex and utilities, force checkbox on same line as text and allow text to split if necessary. Task: 6051482
The placeholder text for the NISS field in the Belgian salary configurator was showing an invalid example format that would actually trigger an error. This fix updates the placeholder to display the correct format (xx.xx.xx-xxx.xx) so users understand what input is expected, improving the user experience and reducing confusion.
Original PR description
As of now, the placeholder text for the NISS field on the salary configurator is "00.00.00-000.00 or / for no NISS" but 00.00.00-000.00 is actually not recognized and shows the error that says to put a valid NISS. For this reason, we modify the placeholder to instead show "Input your NISS in the format xx.xx.xx-xxx.xx or / for no NISS". Task: 6067653
This update fixes unreliable automated tests in the Point of Sale system by making test triggers more precise. The change ensures that tests run consistently and reliably, reducing false failures and improving the quality of our testing process.
Original PR description
Fix undeterministic tours by making some triggers more precise in a few steps.
This update improves the test suite by preventing unnecessary warning messages when certain modules aren't installed. The test now only checks and warns about fields from modules that are actually active in the system, making test results cleaner and more relevant.
Original PR description
For test `TestWriteOverrideTranslatedFields`: before this commit, the whitelist of checked fields could raise warnings when not all relevant modules were installed. This commit refactors the code to check and warn only for installed modules. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a problem where test execution times were being incorrectly measured, sometimes showing negative or extremely large values. The fix switches from using simulated time to real time for measuring test performance statistics, ensuring accurate and reliable test results.
Original PR description
When using faketime the test that can be impacted leading to negative or hudge execution time. Using real time should solve this issue.
This fix improves error messages when developers use forbidden operations in functions. Instead of showing a generic 'lambda' label, the system now displays the actual function name, making it much easier to identify and fix problematic code. This is especially helpful when troubleshooting complex server actions.
Original PR description
### Before this commit:
When using a forbidden opcode in a function, it would tell you the opcode was used in the expression 'lambda', which is not useful.
### After this commit:
The function's name is used instead of the hardcoded 'lambda', to provide more useful debugging information.
```python
def foo(x):
x.bar = 2
```
Now raises `ValueError: forbidden opcode(s) in 'foo': STORE_ATTR` instead of `ValueError: forbidden opcode(s) in 'lambda': STORE_ATTR`, which is not helpful in big server actions.This update fixes an unreliable test in the One2Many field component that could occasionally fail due to duplicate record creation. The fix ensures the test runs consistently by preventing a second record from being created when users press Enter to validate input. This improves the reliability of our automated testing process.
Original PR description
This commit fixes a non deterministic one2many field test by ensuring that we don't quick create the record twice.
Before this commit, it might sometimes happen that the validation of the input ("Enter", by default) produced a second name_create. Note that in practice this is highly unlikely to happen as if the user presses Enter, the "Quick create" item in the dropdown only appears during a single frame, thus making impossible for the user to click on it.
runbot error~242204
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#256746
Forward-Port-Of: odoo/odoo#256582This update corrects the size and alignment of the favorite icon that appears in form headers across Odoo. The fix ensures the icon displays properly and is visually consistent with the rest of the form interface, improving the overall user experience when marking records as favorites.
Original PR description
This commit fixes size and alignment for the favorite icon located in forms. task-6080108 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a unit test in the website profile module that was failing when running with demo data. The test `test_portal_access` has been adjusted to work properly in demo environments, ensuring that quality assurance processes run smoothly without errors.
Original PR description
runbot-242166