Monday, August 1, 2022
3 changes · master
Code cleanup and technical improvements
The mail and live chat code now uses one direct method for adding records instead of routing through an extra internal step. This reduces complexity for developers and helps keep future maintenance simpler without changing the user experience.
Original PR description
The way the code has evolved, `create` is now no more than an unnecessary indirection for `insert`. This PR removes `create` and replaces its uses with `insert` directly.
The web interface ribbon widget was converted to a cleaner internal structure while keeping the same behavior for users. This makes the code easier to maintain and align with other interface components, reducing future development effort without changing day-to-day workflows.
The public live chat experience is being reorganized to use the same modern structure as Odoo Discuss. This helps make future improvements easier and more consistent, with little expected immediate change for end users.
Original PR description
*: website_livechat This commit is a step towards refactoring the JS of public livechat, so that it reuses the same architecture as the code of Discuss. This implies code that uses JS models and OWL components. Task-2939083