[FIX] portal: fix user dropdown in boxed header template

Since this commit [1], the "avatar" image of the logged user is no
longer displayed on the "boxed" header template.

This is due to the "t-nocache" attribute which was forgotten for the
"_avatar" parameter in the "user_dropdown" template.

[1]: https://github.com/odoo/odoo/commit/b0a2a41d78292cb8b9e53788d40c6dc5915a466d

task-3063878

closes odoo/odoo#107861

X-original-commit: 484f0acade527e38e9569fc066b4647a8d70e397
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
This commit is contained in:
Benjamin Vray
2022-12-16 10:28:39 +01:00
parent 52728a2f90
commit 648def9058
+1
View File
@@ -75,6 +75,7 @@
<template id="user_dropdown" name="Portal User Dropdown">
<t t-nocache="Each user is different regardless of the page visited."
t-nocache-_avatar="_avatar"
t-nocache-_icon="_icon"
t-nocache-_icon_class="_icon_class"
t-nocache-_user_name="_user_name"