2020-10-08 22:23:33 +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 account, ir, party, routes
|
2020-10-08 22:23:33 +02:00
|
|
|
|
|
|
|
|
__all__ = ['register', 'routes']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
ir.Cron,
|
|
|
|
|
account.PaymentJournal,
|
|
|
|
|
account.PaymentGroup,
|
|
|
|
|
account.Payment,
|
|
|
|
|
account.PaymentBraintreeRefund,
|
|
|
|
|
account.PaymentBraintreeAccount,
|
|
|
|
|
account.PaymentBraintreeCustomer,
|
2022-07-17 19:07:38 +02:00
|
|
|
account.PaymentBraintreeCustomerIdentical,
|
2020-10-08 22:23:33 +02:00
|
|
|
account.PaymentBraintreeCustomerPaymentMethodDeleteAsk,
|
|
|
|
|
party.Party,
|
2021-10-11 18:35:27 +02:00
|
|
|
party.PartyReceptionDirectDebit,
|
2020-10-08 22:23:33 +02:00
|
|
|
module='account_payment_braintree', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
account.PaymentBraintreeCustomerPaymentMethodDelete,
|
|
|
|
|
account.PaymentBraintreeCheckout,
|
|
|
|
|
party.Replace,
|
|
|
|
|
module='account_payment_braintree', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
account.PaymentBraintreeCheckoutPage,
|
|
|
|
|
module='account_payment_braintree', type_='report')
|