Friday, December 8, 2023
4 changes · master
Code cleanup and technical improvements
The course quiz completion popup has been rebuilt using Odoo’s newer interface framework, keeping the same learner experience while preparing it for future platform changes. Learners still see their success message, progress, and next-step button, with the update reducing reliance on older code that is being phased out.
Original PR description
As legacy dialog code will be removed soon, the following dialog shall be rewritten with OWL. SlideQuizFinishModal ==================== This dialog shows up when a user (successfully) passes a quiz.…
As legacy dialog code will be removed soon, the following dialog shall be rewritten with OWL. SlideQuizFinishModal ==================== This dialog shows up when a user (successfully) passes a quiz. No header, neither footer, but a body containing an image (SVG), an animated progress bar and a button to either go to the next step or end course. The OWL component is renamed SlideQuizFinishDialog. task-3558059 Note on usage of markup: ----------------------- This component receives html messages to display. With the deprecation of the 't-raw' directive, it requires to mark these as markup: see [[IMP] website_slides: de-traw-ify](https://github.com/odoo/odoo/commit/0691736b49543905091daa5208ff361d6bee4ece) But there were actually 3 messages, not 2. The third one, being inserted via JQuery, in the legacy dialog. For reasons of consistency and readability, we have chosen to mark the 3rd message and display it via 't-out', like the first two messages. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update simplifies the internal structure behind Odoo's messaging and live chat threads by removing outdated data handling and moving related logic closer to the records it supports. The change should make future improvements to Discuss and live chat easier and safer, with little to no visible impact for users.
Original PR description
[REF] mail: remove deprecated field on Thread [REF] mail: move functions from services to models https://github.com/odoo/enterprise/pull/52046
The website shop module’s large configuration file has been split into smaller, clearer files. This does not change customer-facing behavior, but it should make future maintenance and updates safer and easier for the development team.
Original PR description
--- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update reorganizes how mail-related data and actions are handled so they sit closer to the records they affect. It should make future maintenance easier for teams working on Knowledge, WhatsApp, and related communication features without changing day-to-day user workflows.
Original PR description
All data are related to models, and code using it is simpler by just relying on record at hand. https://github.com/odoo/odoo/pull/144422