Tuesday, September 10, 2024
6 changes · saas-17.4
Resolved issues and error corrections
This fix removes unnecessary hidden fields from accounting and localization forms that were causing automated checks to fail. It helps keep the system configuration clean and supports more reliable builds without changing day-to-day user behavior.
Original PR description
The error is detected by the `test_uncommented_invisible_field` test. Invisible fields are not commented and seem useless (fields are added automatically if they are used for modifiers) runbot build error: 62493
A sales menu issue was fixed so users can again see “My quotations” in the expected list and kanban layouts. This restores the intended quotation navigation after a previous update accidentally removed those view settings for that action.
Original PR description
By mistake, commit f4b617f1ce1e21ea3ff478c3d09681ec6ab01165 updated the existing act_window views of the `action_quotations` instead of creating new ones for the updated `action_quotations_with_onboarding`. This caused an issue in `sale_crm`, where the 'My quotations' menu uses this specific action, which had no specified tree and kanban view anymore. This commit resurrects those two act_window view for the action_quotations, but under another xml id (since it breaks to do the opposite in stable). --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix removes an unnecessary setting from the portal's “Skip to content” link. It helps keep keyboard navigation predictable for users and avoids conflicts with other page elements, supporting accessibility compliance.
Original PR description
Commit [17e55872] added a "Skip to content" link for general accessibility concerns on the website (namely: make it possible to skip the menu links for people who browse the page with tab and for people who use assistive tools - which is a level A requirement, see [WCAG documentation]). However, the `tabindex` on it is not needed as the link is added at the top of the DOM, and is therefore the first focused element by default. It can also conflict with other focusable elements on the page if different tabindex are set on those. [17e55872]: https://github.com/odoo/odoo/commit/17e5587275f6b8ece9004993a7642394dfcdfef6 [WCAG documentation]: https://www.w3.org/WAI/WCAG21/Understanding/bypass-blocks.html task-4176181
The barcode module now includes a required alias in regular setup data instead of demo-only data. This helps databases created without demo content work correctly for the scale-up scenario while keeping the change limited and temporary.
Original PR description
commit [1] introduce alias to handle scale up game but scale up ask to create a database without demo. So we move the alias to data. It's far from optimal but it's the cleaner temporary solution [1] commit cfe4829be00c77935555d506d86f0f14618fd21f
The update prevents product barcode lookups from crashing when an image request returns an unexpected error response. Users can continue creating or updating products from barcode data without seeing an Odoo error for affected items.
Original PR description
Step to reproduce: 1. Setup barcodelookup 2. Try with 7501030682332 Error: an Odoo Error is displayed "AttributeError: 'dict' object has no attribute 'content'" Getting the image leads to a 418 response and in such case, we return a dict with few informations https://github.com/odoo/enterprise/blob/abcffc2744f9867fc63bb4e658fcfc1c9cba573f/product_barcodelookup/tools/barcode_lookup_service.py#L19-L25 but the current code considers that the response will always have be a `Response` object with a content: https://github.com/odoo/enterprise/blob/9319cfa788033bda7a0be084075c6dd2fd82e8ac/product_barcodelookup/models/product_template.py#L44-L46 sentry-5790228190
A click action that was unintentionally applied too broadly in the data cleanup model view has been moved to the correct specific view. This prevents users from seeing unexpected behavior when working with model records, keeping navigation and actions consistent.
Original PR description
Since #64854 view_model_tree inherited an action on click that was meant only for a specific view this action has been moved to a primary inherited view. Related to task-id: 3861100 backport of odoo/enterprise#68107