summaryrefslogtreecommitdiff
path: root/addons/google_calendar/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/google_calendar/static/src/xml')
-rw-r--r--addons/google_calendar/static/src/xml/google_calendar_popover.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_calendar/static/src/xml/google_calendar_popover.xml b/addons/google_calendar/static/src/xml/google_calendar_popover.xml
index 641b1fcc60a..f026facc990 100644
--- a/addons/google_calendar/static/src/xml/google_calendar_popover.xml
+++ b/addons/google_calendar/static/src/xml/google_calendar_popover.xml
@@ -2,7 +2,7 @@
<templates>
<t t-extend="Calendar.attendee.status.popover">
<t t-jquery=".o_cw_popover_edit" t-operation="after">
- <a t-if="widget.isGEventSyncedAndArchivable() and widget.isEventDetailsVisible()" href="#" class="btn btn-secondary o_cw_popover_archive_g">Archive</a>
+ <a t-if="typeof widget.isGEventSyncedAndArchivable === 'function' and widget.isGEventSyncedAndArchivable() and widget.isEventDetailsVisible()" href="#" class="btn btn-secondary o_cw_popover_archive_g">Archive</a>
</t>
</t>
</templates>