Monday, June 21, 2021
5 changes · master
Enhancements to existing features
Email templates can now use Odoo's QWeb view system for their message bodies instead of relying only on embedded Jinja HTML. This makes template design easier to extend, translate, test, and maintain, helping businesses create more consistent automated emails.
Inventory processing now acquires required locks with a simpler and faster approach. This reduces internal overhead and can help stock operations run more smoothly, especially when multiple processes handle inventory at the same time.
Original PR description
It makes code more readable, doesn't use savepoing and use just a single query to acquire the lock 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
Website editors can now apply a selection of decorative shapes around images, making pages and email content more visually dynamic. The update also adds internal tooling to help prepare new shape designs more efficiently, supporting faster future design additions.
Original PR description
With this improvement, user can now choose between a set of shapes to clip around an image. This allows for more dynamic representation of images. This pull request also contains a tool that allows for a faster conversion of SVGs coming from Illustrator into usable shapes inside this feature.
Scheduled social media posts are now published much closer to the exact time selected by the user. Push notifications sent immediately are also delivered right away, improving time-sensitive communication such as event reminders or ticket sale announcements.
Original PR description
This commit implements 2 main changes related to the usage of CRON triggers: 1. When scheduling a social.post, we create a CRON trigger so that the post is published on the social media as close to…
This commit implements 2 main changes related to the usage of CRON triggers: 1. When scheduling a social.post, we create a CRON trigger so that the post is published on the social media as close to the selected date as possible. This is important for example when you schedule a post on the 05/05/2021 at exactly 9 AM, where you advertise that online ticketing for your online event is now open for sale. You want this post to be published as close as possible to 9 AM, and not whenever the CRON job decides to run after that time. 2. When posting push notifications "immediately", they are now sent immediately. Push notifications implementation is a bit special because we force the send method to pass through the CRON job. As opposed to other social media where the API calls are made immediately when you press on the "Post" button. This is done to avoid having the user wait for a long period of time as push notifications can quickly generate numerous HTTP calls (one for each visitor you are trying to reach). Now, with the usage of CRON trigger, we can actually send the push notifications very close to when you press the "Post" button, by creating a trigger "at=now()". This also allows us to remove the overrides/workarounds done in "website_event_social" that were used to send the track reminders "on time" with manual buttons such as "Send Push Reminders" on the event and the "action_post_immediate" method on the social.post that messed with the context. Task-2336219 UPG PR odoo/upgrade#2417
This update improves payroll handling, especially salary attachments, by moving them into the main payroll app and tying them to employees for better continuity and tracking. It also fixes several country-specific accounting, tax, invoicing, and point-of-sale issues to reduce errors in local compliance workflows.