Tuesday, December 1, 2020
2 changes · master
Resolved issues and error corrections
Manufacturing work orders now calculate required non-tracked components correctly when producing more than originally planned, even if some components were already reserved. This helps avoid incorrect component consumption while keeping lot-tracked reservations tied to their specific lots.
Original PR description
The test from previously added feature allow a higher qty_producing than product_qty (i.e. originally planned) in a WO didn't properly consider non-zero reserved components. This change makes it so non-tracked components are correctly scaled to higher qty_producting amount, and also makes it so test does not expect lot tracked components to auto-scale when specific lot already reserved. Task: 2359317 COM PR: odoo/odoo#60300 Related Upgrade PR: odoo/upgrade#1868
The barcode app now handles unexpected packages and lot or serial numbers during batch picking without crashing or showing outdated information. This helps warehouse staff continue processing batches accurately when scanned items differ from what was originally expected.
Original PR description
These bugs are fixed in `stock_barcode` even if they happen when `stock_barcode_picking_batch` is installed, because the behavior of batch picking is very close to the picking one, but more restrictive. And so, it could create situations where the `stock_barcode_client_action` isn't prepared for.