Daily updates from Odoo
Friday, January 31, 2020
3 changes
Resolved issues and error corrections
The web client now uses the services already provided by the application environment instead of starting a second copy. This prevents duplicate actions such as repeated mail initialization requests or duplicate error messages, improving reliability for users.
Original PR description
Since 671a5471cd891, services are deployed twice in the backend: once by the webclient (as it is a ServiceProvider), and once by the env (which now deploys the services to make them directly available for each Owl component of the component tree). As a consequence, some services perform twice some operations (e.g. the mail service fetches twice the /mail/init_messaging route, the crash manager service displays twice the tracebacks...). This commit fixes the issue by making the webclient directly use services from the env, instead of deploying them a second time. Part of 2183810 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Invoice line descriptions now preserve multi-line product descriptions instead of squeezing them into a single line. This makes invoices match sale order reports more closely and improves readability for customers and staff.
Original PR description
Task: https://www.odoo.com/web?#id=2127652&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.558a14a160ee321b77d59f8fd34e4c1a Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Public survey participants can now see images attached to suggested answers, not just survey backgrounds. This fixes a display issue that could make surveys look incomplete or confusing for visitors without an account.
Original PR description
As well as background, suggested answers images are not available for public users as they don't have access rights on that model. This commit adds a route called by survey template that renders the suggested answers image in sudo mode. Original task ID: 2083823 Link to PR #42228