Daily updates from Odoo
Friday, March 14, 2025
3 changes
Code cleanup and technical improvements
The IoT driver and interface code was updated to use the current Python 3 style for internal setup calls. This keeps the codebase aligned with modern standards and makes future maintenance easier, without changing business functionality.
Original PR description
Some Driver/Interface super calls were still using python2 syntax: `super(ClassName, self)`. Those calls were updated to `super()` following the standard Python3 syntax. Community PR: [https://github.com/odoo/odoo/pull/193434](https://github.com/odoo/odoo/pull/193434) Task: 4477917
The Belgian payroll worked-days amount calculation has been reorganized to make the underlying logic easier to read and maintain. This is an internal cleanup intended to reduce future maintenance effort without changing day-to-day payroll behavior.
Original PR description
Refactor of the compute method for the payslips worked days amount task-4606920
This update removes outdated extra safeguards from automated tests because the testing tools now handle them automatically. It makes the test suite simpler and easier to maintain without changing day-to-day product behavior.