Friday, June 26, 2026
3 changes · 17.0
Resolved issues and error corrections
This change fixes a flaky chat window test by avoiding a click that could accidentally close the window while dismissing a menu. It makes the test more reliable without changing the intended user experience.
Original PR description
The "folded chat window should hide member-list and settings buttons" test flakily failed: the header click meant to dismiss the open actions menu also folded the chat window. The header both folds the window (onClickHeader) and serves as the outside click that closes the actions menu. onClickHeader only skipped folding while state.actionsMenuOpened was set, but that flag was kept in sync with deferred timing and could still read false when the dismiss click was processed, so the window folded. Snapshot whether the menu is open on the header pointerdown, which fires before the click that closes the dropdown, and skip folding on the matching click. This is deterministic, with no reliance on timers or event-loop ordering, and lets onActionsMenuStateChanged be a plain synchronous setter. runbot error: https://runbot.odoo.com/odoo/error/224155
When opening a customer from an invoice, the page title and breadcrumb will now show only the customer’s name instead of including the full multi-line address. This makes the interface cleaner and avoids oversized, hard-to-read breadcrumbs.
Original PR description
- Create a new Invoice; - Assign a Customer with a multiline address; - Click on the internal link (arrow icon) of the Customer field. Before this commit, the form view title and the breadcrumb would contain not only the customer's name but also their full address. This resulted in an excessively large and unreadable breadcrumb. Now, only the name is retained. This commit applies the same behavior already used in many2one fields: the display name is split by line breaks, and only the first line is kept for the title and breadcrumb. task-id 6329662
This fix restores the UNSPSC product code 10171500, so it now appears in the product accounting list as expected. This helps users classify products correctly, especially for organic fertilizers and plant nutrients.
Original PR description
The code 10171500 - Organic fertilizers and plant nutrients wasn't appearing. In the file that has the unspsc product codes this one was set to False. Steps to reproduce: - Activate module product_unspsc. - Go to product > accounting. - Verify that this code is not listed. Ticket [link](https://www.odoo.com/odoo/project.task/4461974) opw-4461974