Daily updates from Odoo
Friday, January 31, 2020
11 changes · master
Enhancements to existing features
Batch transfers are easier to manage with a clearer layout, direct access to transfer line details, and better tools for adding deliveries to batches. The update also improves reporting, status accuracy, and protects already processed quantities when stock is unreserved.
Original PR description
Improve batch transfers layout and usability. See commit's messages for more informations. *task-2069646*
The web module now allows its background request helper to send multiple files. This makes it easier for Odoo features to support file uploads without custom workarounds, improving flexibility for future user-facing workflows.
Original PR description
This commit allows the ajax.post function to send multiple files. Task: 2079142
Coupon management is clearer with updated statuses showing whether coupons are pending, valid, sent, used, expired, or cancelled. Customer-facing coupon emails and PDFs were redesigned and wording was improved, making coupons easier to understand and manage.
Original PR description
Purpose ====== Better traceability for coupons regarding their status (sent or not). UX improvements for coupons (better email, a few string changes). Task 2027296
Custom models can now be ordered by meaningful business fields instead of only by record ID, making grouped views and reports more intuitive. Custom stage-like fields can also show all possible stages, including empty ones, while related stability fixes improve reliability when models change.
Original PR description
Custom model improvements needed for a Studio task: - allow ordering custom models by something else than their id - allow a basic `group_expand` functionality for custom models allowing 'stage-like' behaviours (e.g. a `read_group` on `x_stage_id` will return all the stages, including empty ones) - small fixes detected during development: - SQL identifiers escaping - correct reset of the registry after `SingleTransactionCase` and `SavepointCase` tests - correct removal of a custom class from the registry Part of Task 2091654 Related to odoo/enterprise#7326
Helpdesk teams can now filter tickets based on whether the most recent message came from the customer. This helps agents cover for absent colleagues, avoid missed follow-ups, and gives managers a clearer view of tickets needing attention.
Original PR description
task-2172205 pad- https://pad.odoo.com/p/r.695dbcbbc6baea6347f4f6877e07cc3d
Belgian 281.50 slip generation now requires partners to be explicitly marked with a dedicated 281.50 tag, reducing accidental or incorrect slip creation. Users can select more years in the wizard, with current or future years automatically generated in test mode, and access is now aligned with Accountant permissions.
Original PR description
This commit adding some new checks and features for the generating of 281.50 slip. Now, there is a new partner tag named "281.50". This tag is mandatory if the user wants to generate a 281.50 slip for a specific partner. For the selection of the year in the initializing wizard, the period constrain is removed but if you select a year superior or equal to the current year, the slip will be generated in "test" mode. Access Right: Moving from Advisor to Accountant. **Task ID: 2186378**
Rental analysis can now be filtered by product serial number, making it easier for users to find specific rented items. This improves traceability and speeds up reporting when managing serialized rental products.
Original PR description
**Task:** https://www.odoo.com/web#id=2081478&action=327&model=project.task&view_type=form&menu_id=4720 **Pad:** https://pad.odoo.com/p/r.20080ae38a2c09016c7a8ff849a63a01 **Description:** User will be able to search for a product based on serial no. in sale.rental.report Task-2081478
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
Code cleanup and technical improvements
This update makes CRM lead and opportunity values update more reliably in the background, reducing inconsistent states caused by screen-only changes. It also fixes cases where lost leads could be unintentionally reactivated and removes duplicate customer name handling.
Original PR description
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