Wednesday, March 20, 2024
11 changes · master
Enhancements to existing features
Website badges now use more comfortable default spacing, making labels easier to read and reducing visual clutter. Related pages were cleaned up by removing extra manual spacing that is no longer needed.
Original PR description
This PR increases Badge's default padding as it was too small and creating a cluttered feeling. In the past, to compensate this issue, some padding utility classes and other CSS overrides were arbitrarily applied. Since we fixed the padding, we don't need these classes anymore and thus we can remove them in this PR. task-3749107 Ent-PR: https://github.com/odoo/enterprise/pull/57704 | Before | After | |--------|--------| | <img width="458" alt="Screenshot 2024-02-20 at 16 07 01" src="https://github.com/odoo/odoo/assets/110090660/0527d774-1361-43f2-a07f-39bf89a1b0c6"> | <img width="505" alt="Screenshot 2024-02-28 at 14 19 48" src="https://github.com/odoo/odoo/assets/110090660/fe319cf0-02a9-4d79-995d-1fb42fefad08"> | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves Odoo's internal Hoot testing framework and refreshes related tests for communication features such as Mail and Bus. It helps teams catch issues more reliably and maintain product quality, with little direct impact on day-to-day users.
Original PR description
Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4: https://github.com/odoo/odoo/pull/153203 Part 5: https://github.com/odoo/odoo/pull/153425 Part 6: https://github.com/odoo/odoo/pull/153700 Part 7: https://github.com/odoo/odoo/pull/154054 Part 8: https://github.com/odoo/odoo/pull/154579 Part 9: https://github.com/odoo/odoo/pull/155073 Part 10: https://github.com/odoo/odoo/pull/155639 Part 11: https://github.com/odoo/odoo/pull/156255 / https://github.com/odoo/enterprise/pull/58135 Part 12: https://github.com/odoo/odoo/pull/156869 Enterprise: https://github.com/odoo/enterprise/pull/59009 This pull requests brings various improvements and fixes to Hoot and the Odoo unit test ecosystem. See the different commit messages for more details. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mobile point of sale interface now only shows the search icon when users are viewing products. This reduces confusion on the order screen and keeps the checkout flow cleaner for staff using mobile devices.
Original PR description
In mobile mode, the search icon is visible even when the user is on the order screen. It should only be visible when the user is on the products page if the product are not visible, the search shouldn't be visible task id : 3786318
This update simplifies how Odoo identifies different conversation types in messaging and live chat by relying on existing information instead of storing a separate type field. It should reduce maintenance complexity and help keep chat behavior consistent, with no major visible change expected for users.
Original PR description
Type information can be deduced from other fields, in particular model and channel_type. Part of task-3265211 https://github.com/odoo/enterprise/pull/58928
This update removes a duplicate way of tracking which chat messages have been seen, keeping one consistent source of truth instead. It reduces complexity in mail and live chat behavior, helping prepare the messaging system for future improvements with minimal expected user impact.
Original PR description
This PR removes the `seen_message_id` field on the thread model: - It is redundant with `thread.selfMember.seen_message_id`. - It is an integer field while the one of the channel member is a relational field. - Duality between the two fields We better clean this up before introducing the locally seen field. part of task-2628317
Updates internal tests for the web file upload feature to use Odoo's newer testing approach. This helps maintain quality and reliability without changing how users upload files.
Original PR description
task-id: 3705027
This update converts existing date and time component tests to Odoo's newer testing framework. It helps keep the web module's quality checks easier to maintain without changing user-facing behavior.
Original PR description
task-id: 3705027 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
The Documents search filter was adjusted so users no longer see an archive toggle where it is not relevant. This keeps document filtering clearer while preserving the underlying domain selector behavior needed by the application.
Original PR description
In this commit, for the resModel documents.document, we don't want to have the toggle button included archives. We had to create a getShowArchivedCheckBox method in domain_selector.js to be able to patch it in enterprise/documents/static/src/web/documents_domain_selector.js so that this functionality still works. task~3599274 https://github.com/odoo/odoo/pull/143949
This update removes a redundant internal field used to identify WhatsApp conversation types. The system now determines that information from existing conversation details, reducing duplication and making future maintenance simpler without changing the user experience.
Original PR description
Type information can be deduced from other fields, in particular model and channel_type. Part of task-3265211 https://github.com/odoo/odoo/pull/158222
The subscription sales guided tour was updated to match recent functional changes in the app. This helps keep onboarding and automated walkthroughs aligned with the current user experience, reducing confusion during demonstrations or testing.
Original PR description
task-id: 3339727
The helpdesk training pages no longer use an extra styling class that was only needed to adjust badge spacing. This keeps the interface consistent with the updated standard badge design and reduces unnecessary customization.
Original PR description
This utility class was arbitrarily applied to fix badge's padding. Since we increase Badge's default padding in community counterpart PR, we don't need this class anymore and thus we can remove it. task-3749107 Com-PR: https://github.com/odoo/odoo/pull/154759