[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:
Chong Wang (cwg)
2021-04-16 09:14:24 +00:00
parent 85e1c447df
commit be2981324c
@@ -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',
});
},