diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2020-07-31 07:25:27 +0000 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2020-07-31 07:25:27 +0000 |
| commit | 9dd2c7fdc8b593c0cfaa733351b0096cfc5e2f27 (patch) | |
| tree | 4ad5f693e25fe4bd6311f5390429b7407aaea967 /addons/calendar/models | |
| parent | 7eaf4f3e3612f405f5b9fb22b6d8f770887e70c1 (diff) | |
[FIX] calendar: don't crash if vobject is not installed
closes odoo/odoo#55236
Signed-off-by: Fabien Pinckaers <fpodoo@users.noreply.github.com>
Diffstat (limited to 'addons/calendar/models')
| -rw-r--r-- | addons/calendar/models/calendar_attendee.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/calendar/models/calendar_attendee.py b/addons/calendar/models/calendar_attendee.py index f0009684ebd..a7d5f1ccd0d 100644 --- a/addons/calendar/models/calendar_attendee.py +++ b/addons/calendar/models/calendar_attendee.py @@ -118,6 +118,7 @@ class Attendee(models.Model): event_id = attendee.event_id.id ics_file = ics_files.get(event_id) + attachment_values = [] if ics_file: attachment_values = [ (0, 0, {'name': 'invitation.ics', |
