view __init__.py @ 8:a794183069ad 5.6 tip

Update to 5.6 series
author Cédric Krier <ced@b2ck.com>
date Fri, 17 Jul 2020 13:40:05 +0200
parents 567ba1b8cd49
children
line wrap: on
line source

# 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
from . import marketing
from . import ir
from . import web
from . import routes

__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')