2019-03-30 17:36:08 +01: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_automation, party, routes, sale, web
|
2019-03-30 17:36:08 +01:00
|
|
|
|
|
|
|
|
__all__ = ['register', 'routes']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2019-04-12 15:59:24 +02:00
|
|
|
ir.Cron,
|
2023-02-09 18:50:31 +01:00
|
|
|
ir.Email,
|
2019-03-30 17:36:08 +01:00
|
|
|
marketing_automation.Scenario,
|
|
|
|
|
marketing_automation.Activity,
|
|
|
|
|
marketing_automation.Record,
|
|
|
|
|
marketing_automation.RecordActivity,
|
2022-06-07 18:03:53 +02:00
|
|
|
party.Party,
|
|
|
|
|
party.PartyUnsubscribedScenario,
|
2019-03-30 17:36:08 +01:00
|
|
|
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')
|