[FIX] project: use the new route instead of the old one
Before this commit, the route used for the project sharing always used the old one. This commit changes the url to use the new one to avoid redirecting the old route to the new one each time the user goes to the Project Sharing feature. closes odoo/odoo#95677 X-original-commit: 73e6438f1b294ac274dffccc9c4b97dbfc0e3e50 Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
<template id="project_sharing" name="Project Sharing View">
|
||||
<!-- We need to forward the request lang to ensure that the lang set on the portal match the lang delivered -->
|
||||
<iframe width="100%" height="100%" frameborder="0" t-attf-src="/{{ request.context['lang'] }}/my/project/{{ str(project_id) }}/project_sharing{{ '?task_id=' + task_id if task_id else '' }}"/>
|
||||
<iframe width="100%" height="100%" frameborder="0" t-attf-src="/{{ request.context['lang'] }}/my/projects/{{ str(project_id) }}/project_sharing{{ '?task_id=' + task_id if task_id else '' }}"/>
|
||||
</template>
|
||||
|
||||
<template id="project_sharing_embed" name="Project Sharing View Embed">
|
||||
|
||||
Reference in New Issue
Block a user