Daily updates from Odoo
Tuesday, August 20, 2024
1 change · saas-17.2
Resolved issues and error corrections
This fixes an issue where saving an inventory receipt could fail after users entered lot numbers in detailed operations. The change prevents receipts from getting out of sync, so users can save and validate tracked products without missing-lot errors.
Original PR description
Steps --- * install stock * create product P, and Q tracked by lot * create a receipt for 1 P and 1 Q > *Mark as Todo* * go to the detailed ops for the P move (list icon on the right of the lines) * set the lot name to 001 > *Save* * repeat for the Q move, set the lot name to 002 * Try to save the picking * => **clicking the cloud save icon does nothing** * Try to Validate * => Traceback: missing lot for the Q move Cause --- We try to save the picking when it is dirty when opening the move lines This will create new datapoints corresponding to the backend data, and but the datapoints linked to the inputs are still the old ones so we become out of sync opw-4107258