コンテンツへスキップ
メニュー
この質問にフラグが付けられました
6721 ビュー

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?

アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
1
4月 23
5588
11
1月 24
13979
1
4月 24
3285
4
7月 18
9971
0
3月 15
6392