Odoo Help


How do calendar alarms work?

Daniele Bondì
on 12/16/13, 6:57 AM 2,119 views

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?


Daniele Bondì
on 12/20/13, 7:17 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 12/16/13, 6:57 AM
Seen: 2119 times
Last updated: 3/16/15, 8:10 AM