Files
tryton/__init__.py
T
2021-12-11 17:58:41 +01:00

32 lines
1.0 KiB
Python

# 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 account, ir, party, routes
__all__ = ['register', 'routes']
def register():
Pool.register(
ir.Cron,
account.PaymentJournal,
account.PaymentGroup,
account.Payment,
account.PaymentBraintreeRefund,
account.PaymentBraintreeAccount,
account.PaymentBraintreeCustomer,
account.PaymentBraintreeCustomerPaymentMethodDeleteAsk,
party.Party,
party.PartyReceptionDirectDebit,
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')