Daily updates from Odoo
Thursday, May 2, 2024
2 changes · master
Enhancements to existing features
Facebook social posts and comments now display users' different reaction types, not just likes, making engagement easier to understand at a glance. Users can also like or unlike Facebook posts directly from the comments window, improving day-to-day interaction workflows.
Original PR description
Purpose ======= Currently, we only show the likes of the users. But they can also react with something else than a like. This commit shows the emojis of the most used reactions. Other commits contain: Remove duplicated code about comment. Allow users to like posts in comments modal See underlying commits for details. Task-3595484
Documents attached through bridge modules are now moved to the trash instead of being permanently deleted when the related business record is removed. This preserves traceability and helps users recover or audit documents after associated records are deleted.
Original PR description
Purpose: Currently when a record with a document attached is deleted, the document attached is deleted as well which makes the document untraceable. Specification: Implemented a new functionality to handle document deletion in modules bridged with the documents. Instead of directly unlinking the document from the bridge module, a new function `send_to_trash()` has been created. This function changes the document's `res_model` to 'documents.document' and archives it, ensuring that the document is sent to the trash even if the associated record in the bridge module is deleted. This approach enhances document management and ensures data integrity across modules and helps in documents traceability. Task-3777950