Daily updates from Odoo
Tuesday, May 21, 2019
12 changes · master
Enhancements to existing features
Image processing now caps JPEG quality at a level where higher values no longer improve visible results. This helps avoid unnecessarily large image files while preserving image quality for users.
Original PR description
Values above 95 do not increase the quality but they disable optimizations that increase the file size unnecessarily. See `quality` parameter at https://pillow.readthedocs.io/en/4.0.x/handbook/image-file-formats.html#jpeg Part of task-1930726
Adds a shared helper that converts selected files or images into a format the system can preview or send directly. This reduces duplicated handling across several Odoo apps and supports smoother image previews and uploads without relying on traditional form submissions.
Original PR description
This can be used for example to preview an image from a file input field. It can also be used to send the base64 content of the input by RPC instead of having to rely on form submit as POST with multipart/form-data. Technically wrap FileReader.readAsDataURL in a Promise. This will also be used in task-1930726
The activity menu now shows today’s calendar meetings with the meeting title on the left and the exact time on the right. Users can click the full meeting row to open the calendar view, making upcoming meetings faster to scan and access.
Original PR description
Pad:https://pad.odoo.com/p/r.ba365a66aec2bf726e797fcc13aa4a03 Task:https://www.odoo.com/web?#id=1948737&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
The search panel now displays category values in the same order provided by the server. This keeps lists predictable for users and avoids confusing reordering in views such as kanban.
Original PR description
After this commit, the order of the elements of the search panel categories follow the original order received from the back-end. Task: #1972698
The Documents app now offers a clearer way to access documents from folder views and simplifies how tags are displayed. Tag selection in the document inspector is also smoother, making day-to-day document organization easier for users.
Original PR description
This commit improves the UX/UI of Documents through changes in the views of workspaces, facets, and actions. Notable changes: * Adds a "document(s)" button to the folder's form view. * Removes the name_get of tags. They no longer contain their facet name. * Improves the behaviour of the inspector's tag selector (focus). Task: #1972698
This update standardizes how files are read in Documents, salary contracts, and Sign workflows. It should make file upload and preview behavior more consistent for users while keeping the visible experience largely unchanged.
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/33508
Resolved issues and error corrections
This fix ensures image size options passed through website URLs are handled correctly, so images can be resized as intended. It improves reliability for image display across website, profile, and e-learning pages without changing how users interact with the system.
Original PR description
Before this commit it was impossible to pass those parameters in the URL because they were received as string but expected as int.
Goal records in Gamification now show a readable name instead of an unclear technical label. This makes it easier for users to identify and understand goals in the interface, such as seeing “Goal / Set your Company Data.”
Original PR description
Description of the issue/feature this PR addresses: Create a human readable and clear title for goal records. Current behavior before PR: There is no valid `_rec_name` set on the model `gamification.goal`, resulting in an ugly title:  Desired behavior after PR is merged: There is a clean goal title. In this example "Goal / Set your Company Data" -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a small typo in a website payment configuration reference. The change helps ensure the payment-related view is correctly identified, reducing the risk of display or setup issues in website payments.
Original PR description
A typo. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where image size options sent through document URLs were not accepted correctly. Users and integrations can now request resized images through links as intended, improving reliability for document image handling.
Original PR description
Before this commit it was impossible to pass those parameters in the URL because they were received as string but expected as int.
This update improves how files are loaded for document previews and salary contract signing, reducing crashes when users open or sign PDF documents. It also fixes issues in the signing flow so users can complete backend document signatures more reliably.
Original PR description
rebase-ff
Code cleanup and technical improvements
The messaging menu in the top bar has been streamlined to reduce complexity behind the scenes. This should make the messaging experience easier to maintain and more consistent across support, mail, and bot features without introducing major visible changes for users.
Original PR description
This commit simplifies the logic of the systray messaging menu.