Friday, May 16, 2025
4 changes · saas-18.2
Resolved issues and error corrections
This fixes the placement of the message action menu on mobile mailbox cards, moving the “more” button to the top-right corner. The change prevents the button from overlapping message header text when it wraps, making Inbox and History cards cleaner and easier to tap.
Original PR description
Before this commit, message actions are placed based on the type of message and its content: - when message has bubble layout, they are placed next to the 1st line of bubble - when message contains…
Before this commit, message actions are placed based on the type of message and its content: - when message has bubble layout, they are placed next to the 1st line of bubble - when message contains only attachments, they are placed next to the start of 1st attachment row - otherwise, they are placed next to message header The last case is a last resort which happens in non-discuss channels such as logged notes or tracking values and so on. All of them do not have "squashed" messages and the best natural placement is there in header. Message header is intended to be thin in content, so that it doesn't overpower with message content. However, message actions need to be big enough to be reached with a thumb. These considerations led to a compromise of thin header with message actions with negative margins. This works well when message header is on a single line, but when it wraps to new line this doesn't look good because the negative margin puts it partially inside the header content. This commit fixes the issue by changing the placement of message actions in mobile when displayed as a card, like on Inbox and History: the "..." is moved to the top-right corner of card. This works because the card layout makes the top-right corner a natural position. This make it work like kanban views. Note that this placement is best only in mobile: the card are short in width to make reaching message actions easy. In desktop, the message card can take almost the width of screen, so it makes it less practical than currently, close to message content. Before  After 
This fixes the positioning of message action controls in the mobile mailbox so they no longer overlap longer message bubbles. It also corrects right-aligned message behavior, making message cards easier to read and use on phones.
Original PR description
Follow-up of https://github.com/odoo/odoo/pull/209689 PR above put message actions in top-right corner of card. When message in mailbox was bubble and takes more than 1 line, there was overlap between bubble and this expand button. This commit fixes it with placing expand button "..." closer to card corner. Also condition with aligned right of message were mistakenly inverted, which is also fixed by this commit.
This fix adds the same default example pattern for transaction-detail amount matching that already exists for other matching methods. It helps accounting users configure reconciliation rules more easily and reduces confusion when setting up regex-based matches.
Original PR description
A new amount type match was added for reconcile lines in the form of `from_transaction_details`. There is a value that is proposed by default for `regex`, but not for the new one, while the matching follows the same rule. We do expect atleast a group in the regex currently, but the user has no example on which to base itself. (they currently have a traceback but it will be fixed in https://github.com/odoo/enterprise/pull/84769) 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
Restaurant staff can now print early receipts without triggering an error. This helps keep service moving smoothly and avoids interruptions during customer checkout preparation.
Original PR description
Before this commit, printing an early receipt in a restaurant would cause an error. This fix ensures that early receipts can be printed without issues. opw-4766923