Tuesday, March 9, 2021
4 changes · master
Enhancements to existing features
Email campaigns scheduled to send immediately or at a specific time will now trigger processing at the intended time instead of waiting for the next hourly check. This reduces unnecessary background activity and improves sending precision while keeping a daily fallback for reliability.
Original PR description
The "launch" button of an email campaign mark the current campaign ready to be processed. As sending all the mails is a pretty heavy operation, it is done asynchronously in a cron. The cron was running every hour, it means the cron was running even if there was no active campaign and it has a best precision of 1 hour. We now use the new mechanism of [cron triggers] to schedule the cron execution at the time the campaign is configured to be sent. It achieves a better precision and ensure the cron only runs when there are stuff to process. We decreased the frequency of the cron to once a day, this is mostly a security. [cron triggers]: 4b28f1162a85d03f9dbe0338b06758ad151ea6a8 Task: 2416741
Website editors now get clearer, more consistent controls when selecting multiple images, adjusting image wall spacing, and choosing background images. These updates make image-heavy page sections easier to understand and edit, reducing friction for content teams.
Original PR description
The goal of this PR is to improve UI to ease the understanding of image options: 1- MEDIA DIALOG : - Use the same layout as in selected themes for multi image selection (Image Wall, Gallery...). 2- IMAGES WALL: - Replace "Image Spacing" Selection by a slider. - Make the "Images Wall" snippet editable to be able to open the media dialog on "double-click" on images. 3- BACKGROUND IMAGES: - Update style for Media Picker button. task-2326573 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
Point of Sale now handles electronic payment cancellation more reliably when using Worldline terminals. This prevents checkout disruption when a customer has already inserted their card and the cashier needs to cancel the payment.
Original PR description
With Worldline, the cancel command fails when the card was already inserted. TaskID: 2415526 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where extra components added to a confirmed manufacturing order in tablet view could be counted twice when only part of the order was processed and a backorder was created. The correction helps keep material consumption accurate, reducing inventory discrepancies and production cost errors.
Original PR description
When adding components to a confirmed MO in tablet view, then not processing the full quantity at once and creating a backorder for the remaining quantity, the consumption of the added components in the first backorder is not correct. There was a duplication of the move line of the added components, doubling its used quantity. This duplication came from the lack of move line in the quality check created with the additional component. Not seeing this move line, a new one was created in the _next method of mrp_workorder.