2017-04-01 19:14:28 +02: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:41 +01:00
|
|
|
from . import ir, party, payment, routes
|
2017-04-01 19:14:28 +02:00
|
|
|
|
|
|
|
|
__all__ = ['register', 'routes']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
payment.Account,
|
2020-04-11 00:22:48 +02:00
|
|
|
payment.Refund,
|
2017-04-01 19:14:28 +02:00
|
|
|
payment.Customer,
|
2022-07-17 19:07:38 +02:00
|
|
|
payment.CustomerFingerprint,
|
|
|
|
|
payment.CustomerIdentical,
|
2017-04-01 19:14:28 +02:00
|
|
|
payment.Journal,
|
|
|
|
|
payment.Group,
|
|
|
|
|
payment.Payment,
|
2020-08-11 21:47:51 +02:00
|
|
|
payment.CustomerSourceDetachAsk,
|
2017-04-01 19:14:28 +02:00
|
|
|
party.Party,
|
2021-10-11 18:35:28 +02:00
|
|
|
party.PartyReceptionDirectDebit,
|
2019-04-12 15:59:24 +02:00
|
|
|
ir.Cron,
|
2017-04-01 19:14:28 +02:00
|
|
|
module='account_payment_stripe', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
payment.Checkout,
|
2020-08-11 21:47:51 +02:00
|
|
|
payment.CustomerSourceDetach,
|
2019-11-30 22:46:42 +01:00
|
|
|
party.Replace,
|
2017-04-01 19:14:28 +02:00
|
|
|
module='account_payment_stripe', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
payment.CheckoutPage,
|
|
|
|
|
module='account_payment_stripe', type_='report')
|