Tuesday, August 25, 2020
2 changes · master
Enhancements to existing features
Event website visitors now see a dedicated offline page when their connection is lost or cached content cannot be used. This improves the experience for attendees by clearly handling connectivity issues and automatically refreshing content once the connection returns.
Original PR description
This page will be used in case of lost connection. The web page will be automatically fetched when you are back online. We also use this page when it's not possible to use the cache due to a redirection. X-original-commit: a7c5cadc7467bd2c2423cd3e803cad3677961521
Resolved issues and error corrections
This change prevents manufacturing stock moves from incorrectly losing their unit factor during inventory posting. It helps ensure reserved quantities remain accurate when production moves are split and validated, reducing the risk of incorrect manufacturing inventory updates.
Original PR description
This reverts commit 96b17a82cf1ea1287e0a52c52c78166ef817ce7b. The issue appears at post inventory. As the reservation on the stock_move is updated (because the move are split to set some quantity done), The reserved quantity on quant are so. This is done via a savepoint. The savepoint will flush the current snapshot. This flush will recompute all the computed field. This is the unwanted behavior because all the stock move ready to be validated will have their unit factor set to 0. This commit is not exactly the original revert because of the flexible consumption feature (896352e53b77df2f42de39c0fed897d10ae947b0) Task : 2212001 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