Friday, March 21, 2025
2 changes · saas-18.1
Resolved issues and error corrections
Deleted messages in Discuss and chatter now no longer show the Translate action. This avoids offering an option that has no useful effect because removed message text is already shown in the viewer's language.
Original PR description
When a user deletes a user-message in discuss or chatter, the message content is replaced by "This message has been removed". Some actions are still possible on the message, such as adding reactions. However some features do no make sense, like 'Translate', as the message has no content anymore and the "This message has been removed" is translated automatically to the user viewing this message. This commit fixes the issue by not showing the 'Translate' message action on deleted messages. Task-4661959
Archived price lists no longer appear as selectable options when creating sales orders from a customer record. This prevents users from accidentally choosing inactive pricing rules and keeps sales workflows aligned with active business data.
Original PR description
Steps: - Install sales and contact app. - Create a price-list and archive it. - Go to contact form and click on Sale stat button. - Create an SO and click on price-list field. Issue: - Archive price-list are visible in price-list field. Cause: - In [PR] added active_test and because of that user can select archive records from this action like price-list in our case. Fix: - Remove active_test context from these actions since active_test context already added on child_ids field definition in [commit]. [PR]: https://github.com/odoo/odoo/pull/189270 [commit]: https://github.com/odoo/odoo/pull/165127/commits/310a8ab2a408d17d86026afc2c59063f5891bf3d opw-4657678