Files
tryton/__init__.py
T
2021-12-11 17:58:42 +01:00

31 lines
924 B
Python

# 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 ir, marketing_automation, party, routes, sale, web
__all__ = ['register', 'routes']
def register():
Pool.register(
ir.Cron,
marketing_automation.Scenario,
marketing_automation.Activity,
marketing_automation.Record,
marketing_automation.RecordActivity,
web.ShortenedURL,
module='marketing_automation', type_='model')
Pool.register(
party.Party,
module='marketing_automation', type_='model',
depends=['party'])
Pool.register(
sale.Sale,
module='marketing_automation', type_='model',
depends=['sale'])
Pool.register(
marketing_automation.Unsubscribe,
module='marketing_automation', type_='report')