Monday, May 30, 2022
5 changes · master
Resolved issues and error corrections
Internal notes created when a customer views a quotation in the portal are now translated using the salesperson's or company's language instead of the customer's website or browser language. This keeps sales activity logs consistent and easier for internal teams to understand.
Original PR description
The note "Quotation viewed by customer" posted when a public user accesses an order on the portal (with a token) was translated in the "automatic" language, i.e. the website or user (or browser language). This doesn't make much sense since log notes are not meant to be shown to the user, only to the internal user(s) (/salesman). This commit makes sure that the message is not translated in the website/customer lang, but in the salesman or company language instead. Task - 2836421 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a crash that happened when users changed the checkbox for a suggested email recipient in the mail composer. The change keeps the recipient selection flow working smoothly, avoiding interruptions when composing messages.
Original PR description
Follow-up of #91671 (Task-2817547) Changes above fixed an issue with composer suggested recipient feature not properly prompting a dialog to create new partners. The fix was correct before #90678 (Task-2831082/Task-2849934), but it needs to be slightly adapted for this small technical changes. By omiting them, any change of checkbox state results in a crash. This commit properly adapt code in `_onChangeCheckbox` to take into account both changes.
Fixes an issue where re-enabling the blog page top banner could cause an error after a user had added content at the top of the page. The banner is now added without removing or replacing existing page blocks, preserving user edits and improving reliability.
Original PR description
Before this commit an error appeared if a block had been set at the top of the /blog page and the user wanted to re-enable the "top banner - Name / Latest Post" option. This commit solves the problem and improves the behavior by not trying to replace the block that the user had set at the top of the page. The option adds a top banner but does not remove the blocks present. Steps to reproduce the fixed bug: 1. go on /blog page 2. disable the customize option "Top banner - Name / Latest Post" 3. go in edit mode 4. drop a snippet in this new oe_structure 5. save the page 6. enable the customize option "Top banner - Name / Latest Post" =>traceback task-2774944 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes duplicate product records in the Sales demo data. It helps keep sample data cleaner and avoids confusion when users evaluate or demonstrate sales workflows.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A small internal test update keeps the marketing automation test suite compatible with a newer underlying system method. This helps maintain reliable quality checks without changing the product experience for users.