In some place the search params are mandatory in the route. We now add the search and hash params to the editedObjectPath to avoid having an error when trying to go back. task-2993826 closes odoo/odoo#101996 X-original-commit: 2bed20392084bcbec2683939e5659b03e3ea7acf Signed-off-by: Romain Derie (rde) <rde@odoo.com>