Thursday, April 25, 2024
4 changes · master
Enhancements to existing features
Portal users can now enter and view a second street address line in their account details. The address form has also been reorganized to make address information easier to review and complete.
Original PR description
This PR adds the field `Street 2` in the view of user details which is rendered by the route `/my/account`. (My Account -> Addresses) It also reorganizes some fields in `portal_my_details_fields` to make them more organized as in below structure: ``` - Street - City - Street 2 - State / Province - Zip / Postal Code - Country ``` Additional: This PR replaces the style attribute used in `option` tag to set property `display: none`, with the bootstrap class `d-none`. Task-[3875163](https://www.odoo.com/web#id=3875163&menu_id=4722&cids=2&action=333&active_id=965&model=project.task&view_type=form)
This update adds clearer checks and documentation for hidden fields that are required behind the scenes in Odoo views. It helps teams identify which hidden fields are truly needed, making views easier to maintain and reducing unused configuration.
Original PR description
Since https://github.com/odoo/odoo/pull/137031 the invisible fields are add automatically (invisible and readonly) if they are used by python expressions in views (invisible, required, readonly, context, domain...). The mandatory invisible field must be commented just after the field tag. The comment must indicate what is the technical requirement to be present. The goal is to clean all views, improve the comprehention of the addons and remove dead code. Task-3482092 Task-3864056 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 documents hidden fields that still need to remain in system views and helps identify ones that are no longer necessary. It improves maintainability and reduces unused configuration without changing day-to-day user workflows.
Original PR description
Since https://github.com/odoo/odoo/pull/137031 the invisible fields are add automatically (invisible and readonly) if they are used by python expressions in views (invisible, required, readonly, context, domain...). The mandatory invisible field must be commented just after the field tag. The comment must indicate what is the technical requirement to be present. The goal is to clean all views, improve the comprehention of the addons and remove dead code.
The Documents activity list now gives the “Request a Document” button the same hover styling as related activity actions. This creates a more consistent and polished experience for users managing document requests.
Original PR description
Give the "Request a Document" button of the activity list the same style on hover as the activity elements. Task-3862008