diff options
| author | Aurélien (avd) <avd@odoo.com> | 2021-02-04 13:22:15 +0000 |
|---|---|---|
| committer | Aurélien (avd) <avd@odoo.com> | 2021-02-04 14:09:10 +0000 |
| commit | 0564b4a6dacf449e2a87dfdd58bb48b4e79ebfab (patch) | |
| tree | ca13cdd44b47a3f82d4acb079f98af378f327a67 /addons/google_calendar/static/src/xml/google_calendar_popover.xml | |
| parent | 506755ef8ced187c0f5cd2fa600e7bb1e1fc0fe3 (diff) | |
[IMP] google_calendar: allow to archive from calendar view
Change Delete secondary button on calendar popover to Archive
for synced calendar event. This makes it easier to delete synced
calendar events.
Diffstat (limited to 'addons/google_calendar/static/src/xml/google_calendar_popover.xml')
| -rw-r--r-- | addons/google_calendar/static/src/xml/google_calendar_popover.xml | 8 |
1 files changed, 8 insertions, 0 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 new file mode 100644 index 00000000000..641b1fcc60a --- /dev/null +++ b/addons/google_calendar/static/src/xml/google_calendar_popover.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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> + </t> + </t> +</templates> |
