Daily updates from Odoo
Thursday, March 21, 2019
1 change · master
Code cleanup and technical improvements
Payroll tests were updated to use clearer date and time setup methods instead of harder-to-read parsing code. This is an internal cleanup that makes the test suite easier to maintain without changing payroll behavior for users.
Original PR description
Using `strptime` to parse time is not very readable. This commit clean payroll test by using ORM methods or default datetime constructor instead of `strptime`. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr