1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/website_event_track_social/__init__.py
2024-12-10 09:04:09 +07:00

13 lines
315 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
def post_init(env):
# Do not send push notification for old event tracks
env['event.track'].search([]).write({
'push_reminder': False,
'push_reminder_delay': 0,
})