Tuesday, June 24, 2025
2 changes · saas-18.3
Enhancements to existing features
Website testing tools can now simulate a visitor's city by using the city name in English, not just the country. This makes location-based website behavior easier and more accurate to test, with no direct impact on regular users.
Original PR description
[IMP] website: add city name in MockRequest Before this commit: - mocking request city is possible only with the country, city record contains country attribute but not the city informations like name. After this commit: - it's possible to mock the city by prividing its name according to 'en' local. Related PR: https://github.com/odoo/enterprise/pull/84322 task-4745995
This update improves the internal testing approach for field service geolocation, making tests more reliable and easier to maintain. It also makes a small wording spacing adjustment around the map link shown in field service flows.
Original PR description
[IMP] industry_fsm: use MockRequest to fake geoip In this commit: - MockRequest is used to fake geoip in industry_fsm tests instead of hard coding it with DotDict and manipulating the _request_stack. - space added before "View on Map". task-4745995