Tuesday, May 30, 2023
2 changes · master
Resolved issues and error corrections
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