Tuesday, May 30, 2023
3 changes · master
Resolved issues and error corrections
This update fixes several issues in inventory detail operations, especially when users select existing stock quantities to create or edit move lines. It makes the workflow clearer by showing the right stock records, filling quantities more accurately, hiding irrelevant fields, and preventing incorrect draft status changes.
Original PR description
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 internal payroll processing issue in the Belgian payroll module by avoiding repeated reference lookups while handling leave and work entries. It helps payroll calculations run more reliably and efficiently without changing the user-facing workflow.
Original PR description
task - 3060720
This fix keeps inventory transfers from incorrectly reverting to draft when a move has no quantity. It helps ensure transfer statuses remain accurate when users save or view details for immediate transfers without entered quantities.
Original PR description
Usecase: - Create a picking and a move without quantity - Click or the show detail or save The picking goes into the state draft while it shouldn't. It happens because when a quantity done is set, it will goes to process_increase that will assign the move. With 0 qty, it's not assign and stay in draft (default value) The picking state is then computed based on the move state. To fix it, force the state to assign on stock.move in immediate transfer without quantity. related to https://github.com/odoo/odoo/pull/122445 Task: 3256447