2014-12-02 12:54:44 +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.
|
2014-03-10 23:06:29 +01:00
|
|
|
from trytond.pool import Pool
|
2018-03-20 17:28:55 +01:00
|
|
|
from . import payment
|
|
|
|
|
from . import account
|
2017-02-17 18:51:15 +01:00
|
|
|
from . import party
|
2014-03-10 23:06:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2018-03-20 17:28:55 +01:00
|
|
|
payment.Journal,
|
|
|
|
|
payment.Group,
|
|
|
|
|
payment.Payment,
|
|
|
|
|
account.MoveLine,
|
|
|
|
|
payment.ProcessPaymentStart,
|
2019-01-17 17:19:24 +01:00
|
|
|
account.PayLineStart,
|
2018-03-20 17:28:55 +01:00
|
|
|
account.PayLineAskJournal,
|
|
|
|
|
account.Configuration,
|
|
|
|
|
account.ConfigurationPaymentGroupSequence,
|
2017-02-17 18:51:15 +01:00
|
|
|
party.Party,
|
2017-04-01 00:26:50 +02:00
|
|
|
party.PartyPaymentDirectDebit,
|
2014-03-10 23:06:29 +01:00
|
|
|
module='account_payment', type_='model')
|
|
|
|
|
Pool.register(
|
2018-03-20 17:28:55 +01:00
|
|
|
account.Invoice,
|
|
|
|
|
module='account_payment', type_='model', depends=['account_invoice'])
|
|
|
|
|
Pool.register(
|
|
|
|
|
payment.ProcessPayment,
|
|
|
|
|
account.PayLine,
|
2020-03-01 12:33:51 +01:00
|
|
|
party.Replace,
|
|
|
|
|
party.Erase,
|
2014-03-10 23:06:29 +01:00
|
|
|
module='account_payment', type_='wizard')
|