Daily updates from Odoo
Thursday, April 11, 2024
2 changes
Code cleanup and technical improvements
The internal code behind Odoo's discussion and messaging features has been simplified by moving responsibilities into the relevant conversation models. This should make future maintenance easier and reduce complexity without changing the day-to-day user experience.
Original PR description
Discuss code is more complicated than it should. Part of it comes from split in arbitrary services, which are both confusing and very verbose. This commit removes the `mail.thread` service: related features have been moved to the appropriate model. For example: ```js this.env.services["mail.thread"].open(thread); // => thread.open(); ``` https://github.com/odoo/odoo/pull/161157
This update removes outdated comments and unnecessary formatting markers from VoIP-related files. It does not change how the phone features work, but makes the codebase cleaner and easier to maintain.
Original PR description
Remove: 1. Licence comments 2. utf-8 encoding attributes/comments 3. xml:space="preserve" attributes