Ir al contenido
Menú
Se marcó esta pregunta
6463 Vistas

In the form for meetings (crm.meeting) there is the possibility to set a reminder, but it doesn't seem to work. Looking at the code in base_calendar/base_calendar.py there are two models: res.alarm and calendar.alarm. The developer mode tells me the reminder is a res.alarm object.

As far as I can tell, when I set a reminder it runs do_alarm_create() that creates a calendar.alarm (looking at the db with pgadmin, an entry in the calendar_alarm table is indeed created). There is a cron job scheduled to run every 5 minutes for calendar alarms that calls calendar_alarm.do_run_scheduler(), but nothing happens. Calendar.alarm has an 'action' field which I guess is the action to take when the condition is met, but it seems to me that do_run_scheduler() does something only if 'action' is 'email'. This is a problem, because res.alarm creates a calendar.alarm with a 'display' action.

So, am I missing something or is the code incomplete/bugged? Should I file a bug report?

Avatar
Descartar
Autor

https://bugs.launchpad.net/openobject-server/+bug/1099620

Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 23
5313
11
ene 24
13589
1
abr 24
2833
4
jul 18
9721
0
mar 15
6106