def _get_root_calendar_directory(self, cr, uid, context=None):
objid = self.pool.get('ir.model.data')
try:
- mid = objid._get_id(cr, uid, 'caldav', 'document_directory_calendars0')
+ mid = objid._get_id(cr, uid, 'document', 'dir_calendars')
if not mid:
return False
root_id = objid.read(cr, uid, mid, ['res_id'])['res_id']
def get_description(self, cr, uid, ids, context=None):
#TODO : return description of all calendars
- if not context:
- context = {}
return False
def get_schedule_inbox_URL(self, cr, uid, ids, context=None):