Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
6719 Visualizzazioni

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
apr 23
5587
11
gen 24
13977
1
apr 24
3283
4
lug 18
9967
0
mar 15
6389