Thursday, August 8, 2024
1 change · 17.0
Resolved issues and error corrections
This fix resolves a test failure in the website rental module that occurred when running tests without demo data. The test was failing because user timezone information wasn't properly specified. By setting the timezone directly in the test, the availability test now runs reliably regardless of whether demo data is present.
Original PR description
before this commit [test_availability_in_clients_tz](https://runbot.odoo.com/runbot/build/66644573) was breaking when not having demo data. Was first introduced in https://github.com/odoo/enterprise/pull/61047 Now we fix the issue where test test_availability_in_clients_tz without demo data as user does not have tz specified by specifying it in the test itself.