mirror of
https://github.com/bringout/oca-ocb-security.git
synced 2026-04-23 06:52:06 +02:00
12 lines
373 B
Python
12 lines
373 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import api, models
|
|
|
|
|
|
class AlarmManager(models.AbstractModel):
|
|
_inherit = 'calendar.alarm_manager'
|
|
|
|
@api.model
|
|
def _get_notify_alert_extra_conditions(self):
|
|
res = super()._get_notify_alert_extra_conditions()
|
|
return f'{res} AND "event"."microsoft_id" IS NULL'
|