Wednesday, June 26, 2024
3 changes · saas-17.3
Resolved issues and error corrections
This fixes a display issue where user mentions in Odoo mail and Discuss lost their visual styling after a framework upgrade. Mentions now appear correctly again and no longer overlap when they wrap across lines, making conversations easier to read.
Original PR description
[FIX] mail: lost styling in mention since the migration of bs5.3, the style of mention lost. the problem is that the style of .o_mail_redirect, etc. is defined in the bs class way so, without a .btn class, the style is lost. fix: reproduce the style in discus, avoid the overlapping for mentions in two different lines.  task-4012219
Email template setup now uses a safer encoded version of an emoji so it loads correctly on Apple silicon Macs. This prevents fresh database setup from failing or rendering incorrectly because of the emoji in mail attachment link templates.
Original PR description
Before this commit, the emoji displayed in the template data `mail.mail_attachment_links` is not correctly compiled by the lxml module for the computer with Apple chip. This commit defines the emoji by using its html code instead of directly displaying the emoji in the template to correctly compile it when we start a fresh db on mac with Apple chip.
Fixed an issue where a spreadsheet pivot could be shown as unused even when it was still referenced from another sheet. This helps prevent users from accidentally removing or mismanaging active pivot data in multi-sheet spreadsheets.
Original PR description
Enterprise adaptations of the community branch. Steps to reproduce in 17.0: There's no way to reproduce the issue in 17.0 because the faulty getter in only called on positions in the active sheet (pivot autofill, global filter auto-matching) Steps to reproduce in saas-17.1: - insert a pivot in a blank spreadsheet - delete all pivot formulas - insert a new sheet - in the new sheet: - in A1: type "1" - in A2: =ODOO.PIVOT(A1) - activate the first sheet again - Open the Data menu => the pivot 1 is marked as being unused, even though it's used in the second sheet Task: 3859472 X-original-commit: 0b6730496a4316d0ec19ffb823ca2cee1c2c3790