[FIX] Calendar: fix avatar preview on hover
delete redundant '}' added by accident The redundant '}' might be added by accident. It makes the the correct avatar image cannot be found and shown as a default camera image when the user * Open calendar * Hover on on of the responsibles listed in the right side panel of the calendar view closes odoo/odoo#69139 Taskid: 2504659 Signed-off-by: Arnaud Joset <arj-odoo@users.noreply.github.com>
This commit is contained in:
@@ -739,7 +739,7 @@ return AbstractRenderer.extend({
|
||||
delay: {show: 300, hide: 0},
|
||||
content: function () {
|
||||
return $('<img>', {
|
||||
src: `/web/image/${options.avatar_model}/${filter.value}/${options.avatar_field}}`,
|
||||
src: `/web/image/${options.avatar_model}/${filter.value}/${options.avatar_field}`,
|
||||
class: 'mx-auto',
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user