[FIX] calendar: don't crash on missing optional dependency
[FIX] calendar: don't crash on missing optional dependency

For historical reasons, `vobject`* Python library is not mandatory in
Odoo.

Since refactoring 6af6148a243374b7004aae719b9855df9393913e,
get_ics_file() returns now a dictionary whose keys are calendar.event
ids and values are the corresponding ics file.
If `vobject` is not available, it returns an empty dictionary that
could cause calendar.py to crash because it always expects to find the
event's key.

Before this refactoring, this method was called and architectured in a
different manner, so no crash was happening.

This commit prevents the crash if `vobject` is not installed and logs a
warning.

*vobject allows to generate iCalendar files

dfang/odoo,dfang/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,dfang/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,ygol/odoo