Files
tryton/modules/marketing_automation/__init__.py
T

30 lines
883 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,
ir.Email,
marketing_automation.Scenario,
marketing_automation.Activity,
marketing_automation.Record,
marketing_automation.RecordActivity,
party.Party,
party.PartyUnsubscribedScenario,
web.ShortenedURL,
module='marketing_automation', type_='model')
Pool.register(
sale.Sale,
module='marketing_automation', type_='model',
depends=['sale'])
Pool.register(
marketing_automation.Unsubscribe,
module='marketing_automation', type_='report')