Daily updates from Odoo
Wednesday, April 24, 2019
2 changes
Resolved issues and error corrections
This fixes an incorrect Belgian payroll value that could cause an employee contract wage to be automatically overwritten with a higher amount after editing. The change helps ensure payroll contract wages stay as entered and prevents unintended salary adjustments.
Original PR description
Commit ec86223 changed the employer onss to the 2019 value. But commit 41a8e9b introduced the 2018 value elsewhere in parallel. As the two commits did no conflicted at rebase it was not seen when merging and the 2018 value was left unmodified. The consequence of this wrong value is seen when changing the wage of a contract: set the wage, then it is overwritten by an onchange to a higher value. Sadly this behaviour is wrong.
Corrected test data for Belgian payroll accounting so payslip records are linked to the appropriate company context. This prevents incorrect employee data from being exposed during tests and avoids access errors in multi-company scenarios.
Original PR description
Task:https://www.odoo.com/web#id=1961647&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.5ff5cb1d15c07563563a1e68641583d3