[FIX] web_calendar: Error when deleting an element from calendar view.

Comes from:
https://code.launchpad.net/~pedro.baeza/ocb-web/7.0-web_calendar-fix-1306136/+merge/215256