Thursday, August 12, 2021
9 changes · master
Enhancements to existing features
Newly created projects will now display example task cards and columns instead of an empty screen. This helps users understand how a project board can look and makes it easier to get started.
Original PR description
When creating a new project, users are presented with a blank screen without any data. This commit aims at showing them what a project might look like once data are created. Fake records are created in each kanban columns, if there are no columns, it will show fake columns. TaskID: 2239715 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 improves the Timesheets interface with clearer list and kanban presentation, styling updates, and supporting sample images. It helps users review and understand timesheet information more easily, making day-to-day time tracking feel more transparent.
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
Stock receipt processing is now faster when purchase orders include large quantities of products tracked by serial number. This reduces repeated background lookups during line creation, cutting validation time by about 35% in the benchmark and improving efficiency for high-volume warehouse operations.
Original PR description
No need to make the same query 10 k times during line generation. This saves about 35% of the execution time STEPS: * create a PO for product tracked by serial, set qty=10000 * confirm the PO PO validation benchmark: ``` BEFORE: 20223 7.007 11.960 20131 7.602 12.442 AFTER: 10159 4.786 8.168 10132 5.035 8.567 ``` --- task-2575448
Messaging initialization was optimized to use fewer database queries, making chat and related communication features load more efficiently. New performance testing helps prevent future slowdowns in this area.
Original PR description
Reduce the number of queries in `init_messaging` (and related methods) and add a test to ensure it. Less queries, less code (not counting the new performance test itself). See individual commits for gradual improvements. task-2622462
When an HR salary offer link has already been copied, changes to the offer details now automatically refresh the copied link. This prevents users from sharing outdated links and reduces manual re-copying mistakes.
Original PR description
changing a field and directly click on the copy button will change the URL with the new value but the already copied URL will have the old value. so this commit improves the issue by calling the copy button whenever the user changes the field and the copy button has been clicked once so that the copied URL will be updated with the new value. TaskID-2577962
The marketing automation email view has been adjusted to better fit automation-specific workflows. This should make it clearer and easier for business users to manage automated mailings within marketing campaigns.
Resolved issues and error corrections
This fixes payment setup logic so saved payment methods are matched using the correct payment provider information. It also prevents duplicate payment lines from being created, reducing errors when configuring payment acquirers and SEPA direct debit.
Original PR description
Fix two issues: The search of suitable payment token was searching on the journal_id field of the payment acquirer that is no longer stored. Change it to now search on the acquirer_id directly, since we have this information. The _inverse_journal_id method on payment acquirers would create new payment line with the manual payment method when no provider are given to an acquirer, or no payment method is existing for a given provider. This would cause issues with the creation of multiple line with the same name on a same journal, which would trigger the constrains blocking that.
This update fixes display problems in the Social feed so posts, comments, and replies open and render correctly again. It also simplifies social media descriptions to plain text, making the data easier to maintain without changing the user-facing purpose.
This fixes an issue where some PDF documents could render incorrectly in the Sign app because their text encoding was not handled properly. Users can now view and process affected signing documents more reliably.
Original PR description
In https://github.com/odoo/enterprise/pull/20098, a fix was proposed for all modules. However, the fix did not target sign. This PR, therefore, fixes PDF rendering in sign.