Monday, October 17, 2022
2 changes · master
Resolved issues and error corrections
The snailmail process now skips letters for accounts that have no remaining credits, preventing repeated resend attempts and reducing spam-like activity. Users can manually reset selected letters to pending when they want them retried after resolving credit issues.
Original PR description
We are spammed by some accounts that don't have credits anymore. With this commit, the snailmail `cron` does not take their messages into account anymore. There is a new server action (action_reset_to_pending) callable from the list view, for bulk updates on the snailmail_letter records. This action allows the user to reset the state of chosen letters, making those elligible again to the cron. __Pros & Cons__ Some drawbacks of this approach are: - Since the server action is in the views, the snailmail module needs to be upgraded. - The user needs to act (before it was in the background => less ui friendly, but probably rare enough). - Risk of abuse. Some upsides are: - Allows bulk and fine tuning reset (maybe some of the letters dont need to be sent anymore) - Fixes our issue, which is spam. task-2930455 
The stock forecast report now correctly shows and processes reserve and unreserve actions when deliveries use multiple steps. This helps warehouse teams manage availability across the full delivery chain without missing or unavailable controls.
Original PR description
Before this commit, the reserve/unreserve buttons did not work / were hidden with multi-step delivery settings. The report now works with the entire chain of moves linked to the delivery TaskId: 2858139 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr