}
def _get_root_calendar_directory(self, cr, uid, context=None):
- if not context:
- context = {}
objid = self.pool.get('ir.model.data')
try:
mid = objid._get_id(cr, uid, 'document', 'dir_calendars')
return False
def get_node_class(self, cr, uid, ids, dbro=None, dynamic=False, context=None):
- if not context:
- context = {}
if dbro is None:
dbro = self.browse(cr, uid, ids, context=context)
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):
- if not context:
- context = {}
calendar_obj = self.pool.get('basic.calendar')
calendar_ids = calendar_obj.search(cr, uid, [