Files
tryton/modules/marketing_email/__init__.py
T

27 lines
729 B
Python
Raw Normal View History

2020-09-12 15:36:37 +02:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.pool import Pool
2021-12-11 17:58:42 +01:00
from . import ir, marketing, routes, web
2020-09-12 15:36:37 +02:00
__all__ = ['register', 'routes']
def register():
Pool.register(
marketing.Email,
marketing.EmailList,
marketing.Message,
marketing.SendTestView,
ir.Cron,
web.ShortenedURL,
module='marketing_email', type_='model')
Pool.register(
marketing.SendTest,
module='marketing_email', type_='wizard')
Pool.register(
marketing.EmailSubscribe,
marketing.EmailUnsubscribe,
module='marketing_email', type_='report')