Wednesday, January 29, 2025
2 changes · saas-17.4
Enhancements to existing features
The base module now gives clearer test feedback when hidden fields in views need attention. Instead of only listing affected views, the message identifies the specific fields to remove or comment, making cleanup faster and reducing developer investigation time.
Original PR description
### Description of the issue/feature this PR addresses:
Since this PR #162009, all uncommented invisible fields raise an error.
This commit improves the error message from the method `test_uncommented_invisible_field` by showing which line of the view should be removed/commented.
The error message before this commit :
```
Addons: 'module_name' Views: ['view_name1', 'view_name2']
```
After:
```
Addon: 'module_name'
View: view_name1
Fields:
<field name="field1" invisible="1">
<field name="field2" invisible="1">
View: view_name2
Fields:
<field name="field1" invisible="1">
```
The main benefit of this change is to display in a single test all uncommented fields that need to be fixed.
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prDeferred audit screens now show only the columns that are useful for reviewing deferred entries. This reduces clutter and helps accounting teams focus faster on the information needed during audits.
Original PR description
task-4497852