Tuesday, May 14, 2024
1 change · saas-17.2
Resolved issues and error corrections
Creating lot numbers through import no longer triggers an error when expected receipt data is missing. The system now uses the product quantity as a fallback, helping warehouse users complete imports without interruption.
Original PR description
Fixing a traceback JS error happening when attempting to create lot numbers with import. Odoo will try to read the value of totalReceived even though it doesn't exist. With this PR, if totalReceived is not defined, it will correctly use `props.move.data.product_qty`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr