mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-26 19:22:06 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -4,7 +4,7 @@
|
|||
from odoo import api, models
|
||||
|
||||
|
||||
class AlarmManager(models.AbstractModel):
|
||||
class CalendarAlarm_Manager(models.AbstractModel):
|
||||
_inherit = 'calendar.alarm_manager'
|
||||
|
||||
@api.model
|
||||
|
|
@ -21,3 +21,4 @@ class AlarmManager(models.AbstractModel):
|
|||
alarm = self.env['calendar.alarm'].browse(alarm_id).with_prefetch(list(events_by_alarm.keys()))
|
||||
events = self.env['calendar.event'].browse(event_ids).with_prefetch(all_events_ids)
|
||||
events._do_sms_reminder(alarm)
|
||||
events._setup_event_recurrent_alarms(events_by_alarm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue