This commit is fixing a last minute error in commit [1] after a push force which move its code above the existing line `vals['url'] = url`. After the code move, `vals['url']` was not the updated url value (which went through slugify and unique path functions). - Create a /test page, publish it. - Set /test as homepage url directly on the website (in the settings) - Go to that page - Open the page properties and change its URL from /test to /test_un -> The page url is /test-un but the website homepage_url is still /test_un (not slugified) in the website settings [1]: https://github.com/odoo/odoo/commit/374a1b31f70a3209b1ae11db8e5886350579c7f9 closes odoo/odoo#147641 X-original-commit: 3c8a58b654418fc2fc0dc9bc28420c7dcb1bafee Signed-off-by: Colin Louis (loco) <loco@odoo.com> Signed-off-by: Romain Derie (rde) <rde@odoo.com>