# 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 from . import marketing_automation from . import web from . import party from . import sale from . import routes __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')