Thursday, August 12, 2021
7 changes · master
Resolved issues and error corrections
Project users and recruitment officers can now open the Activity Types configuration without running into an access error. This fixes a permissions issue caused by activity types referencing model information that these users could not read.
Original PR description
Many2one to ir.model on mail.activity.type leads to an access error when a project user or a recruitment officer open the Configuration > Activity Types menu. since #69120
This fixes the display of hints in the website editor command bar so they are aligned correctly and remain readable on different backgrounds. Users get a clearer editing experience with less visual confusion.
Original PR description
The command bar hints were not properly text-aligned, and the color was sometime not visible depending on the background. task-2607335 task-2607337 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing document attachments are now deleted properly when users remove them from a bill of materials line. This prevents obsolete files from remaining in the system and keeps attachment records cleaner.
Original PR description
Steps to Reproduce Bug: - Add Attachment on Bom Line - Delete Attachment Bug: - Attachment is still present on `ir.attachment` With this commit, we are removing linked attachment on deleting `mrp.document` 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
The web editor now handles spaces more reliably when users type near the command bar or create links automatically. This prevents accidental double spaces and reduces editing interruptions, making content entry smoother.
Original PR description
Inserting a space would occasionally insert two spaces, and auto link making would sometimes conflict with the command bar. task-2584101 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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.