Thursday, February 15, 2024
12 changes · master
Enhancements to existing features
The web interface now avoids automatically opening the on-screen keyboard when users select values from certain menus on touch devices. This makes mobile and tablet interactions smoother and reduces interruptions during everyday navigation.
Original PR description
This commit brings back the use of this hook, that was lost during the dropdown refactor [1]. The hook is safer to use, since it does not focus the input when a touch device is being used. This prevents having the virtual keyboard popping up on the screen too often when simply selecting a value in a list. [1]: 28c366746ddf144313a508159d6a22d2726159fb
This update removes recently added internal Odoo annotations from the web interface code and related tests. It helps keep the codebase cleaner and more consistent without changing visible functionality for users.
Original PR description
This commit removes odoo annotations added after this [PR]. [PR]: https://github.com/odoo/odoo/pull/142858
Invoices and credit notes sent through Send & Print now display a clear Sent stage, making it easier for users to distinguish items that are only posted from those already sent to customers. This improves visibility in the invoice workflow without changing the underlying accounting status.
Original PR description
New stage 'Sent' for invoices/Credit notes sent with Send & Print. Users can see difference between Posted and Sent more easily. - Add state 'sent' to account move. - Add this state to the widget bar, but only visible for invoices and credit notes. For those, only visible if move is sent. - Change invisibility criteria for buttons, so they still show in sent moves. Still to do by updating the commit once I have olma's perspective: add decoration to the sent stage, add 'sent' to posted filter. task-3639958
Website editors can now choose whether dynamic product carousels show every product variant or only the main product. This gives businesses cleaner merchandising options while still letting shoppers configure variants when needed.
Original PR description
**Version** - master Before this PR, the dynamic product carousel displayed the products including their variants. After this, users can decide whether they want to show the variants or not. With this PR, - Introduced a toggle button in the editor panel for a dynamic product carousel to switch between `products with variants` and `products without variants`. 1. Added `show variant` toggle option:  2. Product carousel with show variant = False. It will display only the main product.  3. Product carousel with show variant = True. It will display all product variants.  task-3266832 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update streamlines how message threads are loaded and shared in Expenses and Mail. It is an internal cleanup that should make the related communication features easier to maintain without changing day-to-day user workflows.
Original PR description
This change provides the thread with `Thread.insert()` instead of `getThread()`and omits `getThread()` from `threadService` [Related Enterprise PR](https://github.com/odoo/enterprise/pull/56492)
This update improves Odoo's internal HOOT testing tools with clearer filtering, better debugging screens, and more reliable error handling. These changes help developers find and fix issues faster, supporting better product quality with limited direct impact on end 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 This pull request: - fixes some more linting issues - rearranges the inclusion system in HOOT - crashes calls to getFixture outside of tests - filters counts on HOOT sidebar based on current filters - allows to unselect suites in the sidebar - renames "dispatch" to discourage its use - adds a "queryFirst" helper - adds a diff section to "toHaveStyle" - fixes timing issues allowing errors to be contained within tests - makes toThrow and toMatch accept constructor and matches against instances --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update modernizes internal tests for the web expression editor dialog, helping ensure the feature remains reliable as the product evolves. There is no direct change to everyday user workflows, but it supports better quality assurance for future releases.
Original PR description
task-id: 3705027
Inventory operation settings now determine whether serial-numbered products should be treated as tracked or untracked during stock moves. This makes warehouse workflows more consistent when both options to create new serials or use existing ones are disabled.
Original PR description
Before this commit: =================== There is no relationship between the 'create new' and 'use existing one' fields and serial-tracked products. If both fields are disabled, there is no effect on serial-tracked products. After this commit: ================== - If both 'create new' and 'use existing one' fields are disabled in the inventory operation type, then the serial-tracked product lines will be considered as non-tracked product. - Test cases are update because both fields 'create new' and 'use existing one' will be access through picking_id in stock_barcode. Task: 3443228
Invoice, bill, credit note, and refund lists now include Accounting Date as a grouping option. This makes it easier for finance teams to organize and review documents by the date used for accounting records.
Original PR description
- Add 'Accounting Date' as a group by option under Invoice and Due date, in the list view of invoices/bills/credit notes/refunds. task: 3642367 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
Invoice and credit note lists now show whether each document has been sent using Send & Print. Users can also filter documents by sent or not sent status, making follow-up and tracking easier.
Original PR description
This commit adds information about the sent state to the outgoing moves views, making it easier to see if an invoice/CN was sent via Send & Print or not. A new Selection computed field was created to display whether move was 'Sent' or 'Not Sent' as a badge. This commit: - Creates a computed selection field, not stored, that changes according to is_move_sent value - Adds column Sent in list view, displaying a bagde - Adds filters Sent and Not Sent to invoices and credit notes task:3689248
Barcode delivery flows now treat serial-tracked items like regular product lines when creating or using serial numbers is disabled for the operation type. This makes the number pad available and provides a more consistent, simpler interface for warehouse staff.
Original PR description
Before this commit: =================== There is no relationship between the 'create new' and 'use existing one' fields and serial-tracked products. If both fields are disabled, there is no effect on serial-tracked products in barcode. After this commit ============= - If both 'create new' and 'use existing one' fields are disabled in the inventory operation type, then in the barcode, the serial-tracked product lines will be considered as one line, like non-tracked product line. - The 'Digi pad (Number pad)' in the barcode will be visible when both fields are disabled. - The UI view for serial-tracked products will be the same as for non-tracked products when both fields are disabled in the barcode." Task: 3443228
This update changes how message threads are prepared in recruitment extraction, Knowledge comments, and WhatsApp chatter. It streamlines the underlying messaging code without introducing visible workflow changes for users.
Original PR description
\* : hr_recruitment, knowledge, whatsapp This change provides the thread with `Thread.insert()` instead of `getThread()` and omits `getThread()` from `threadService` [Related Odoo PR](https://github.com/odoo/odoo/pull/153817)