Daily updates from Odoo
Friday, January 31, 2020
10 changes · master
Resolved issues and error corrections
The document indexing feature no longer depends on a PDF processing library that is unavailable on some supported Ubuntu systems. If the library is missing, the system logs a warning and continues indexing other document types, reducing installation and maintenance issues.
Original PR description
As pdfminer does not have a Debian package in Ubuntu Bionic, it cannot be declared as a strong requirement. With this commit, a warning is logged if the library is not installed. It does not prevent to index other types of documents.
This fixes an issue that could prevent survey date or time selection limits from working correctly. Survey participants should now have a smoother experience when answering questions that use date or time inputs.
Original PR description
Fixing 59a50e7628e3, were minDate & maxDate are declared before usage. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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
This update corrects a typo that prevented the event registration close action from being properly referenced. It helps ensure event organizers can close registrations as expected, avoiding confusion or manual workarounds.
Original PR description
Bug === Typo error in the name of the action. Introduced in e2f16573d257257198b1fabb9fe5f619614fb1cf Task 2186587
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
This fix ensures the media icon is shown on social posts even before they are sent. Users can now clearly see when a draft or scheduled live post includes media, reducing confusion during publishing preparation.
Original PR description
Bug === No icon displayed if the post is not yet sent.
The Field Service worksheet screen no longer shows the “Design Worksheet Template” button on mobile devices. This avoids showing an action that is not practical on smaller screens, making the mobile experience cleaner and easier to use.
Original PR description
Task : https://www.odoo.com/web?#id=2152318&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.66310d7ccc0377249827064ccf6f0ae3
The asset report no longer relies on account groups to build a hierarchy, because that structure is not appropriate for assets. This prevents misleading or incorrect asset report organization and keeps the report aligned with how assets are managed.
Original PR description
Since 1789db58dc3fef6358bf2465cfd9ca120bbd6120 we need to have account groups in order to have a hierarchy, but it doesn't make sense for assets.
This update fixes a problem that could occur when uninstalling the Sale Timesheet Enterprise app. It ensures related setup data is handled before the underlying components are removed, helping avoid uninstall errors for administrators.
Original PR description
Purpose ======= It's better to manipulate the models before they disappear. TaskID: 2185403