Monday, June 7, 2021
4 changes · master
Resolved issues and error corrections
This fixes an issue where manufacturing backorders created from the simplified view could have incorrect component quantities after extra materials were consumed. The change keeps follow-up manufacturing orders accurate, helping avoid inventory discrepancies and production planning errors.
Original PR description
The problem arises when a user creates a backorder for a MO after registering over-consumption of some components through the simplified view. The quantities of the components of the new backordered MO are then wrong. Components that were over consumed in the first MO will have smaller quantities in the new MO, the difference being the amount over consumed. This problem does not appear in the case of the Tablet View where a proper recalculation of quantities is done. This commit fixes the problem reusing the code of the Tablet View to calculate the quantities. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When a product template image or similar shared field is updated, related product variants that depend on that template are now refreshed as well. This helps prevent outdated product images from appearing in customer-facing areas such as e-commerce pages.
Original PR description
Before this commit, products relying on values of template fields (i.e. image) were not considered updated when their fallback template field was updated. After this commit, upon update of a template field, all products that would fallback on that template for that field are "touched". This avoids side-effects such as displaying an outdated template image in the e-commerce for a given product. task-2477438 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
This fixes an issue where Time Off email subjects could show extra or unreadable characters when leave dates were included. The date separator is changed to a simple slash so email subjects display clearly for users.
Original PR description
Currently, In TimeOff module If we schedule activity for Leave to Defer In the subject of email we see some extra string before arrow that is because of whitespace before the arrow. In these commit we remove the extra string by removing the leading whitespace. **Task Id: 2501374** 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
The Belgian point-of-sale compliance reporting endpoint now automatically includes the relevant module files instead of relying on a manually maintained list. This prevents missing or outdated files from affecting the generated report and keeps the process more reliable as the product changes.
Original PR description
While working on odoo/odoo#68072, found out that the `/fdm_source` endpoint is broken: some of the listed files have been removed, and many new files are missing. Convert endpoint to autodiscovery in the two relevant modules instead of a hardcoded list. Enumerated paths are sorted in basic lexicographic order so the hashing should be somewhat coherent, not change based on the FS's iteration details.