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
|
|
|
|
|
|
|
|
|
|
from . import payment
|
|
|
|
|
from . import party
|
|
|
|
|
from . import routes
|
2019-04-12 15:59:24 +02:00
|
|
|
from . import ir
|
2017-04-01 19:14:28 +02:00
|
|
|
|
|
|
|
|
__all__ = ['register', 'routes']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
payment.Account,
|
|
|
|
|
payment.Customer,
|
|
|
|
|
payment.Journal,
|
|
|
|
|
payment.Group,
|
|
|
|
|
payment.Payment,
|
|
|
|
|
party.Party,
|
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,
|
|
|
|
|
module='account_payment_stripe', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
payment.CheckoutPage,
|
|
|
|
|
module='account_payment_stripe', type_='report')
|