2014-09-17 21:54:48 +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, payment, statement
|
2014-09-17 21:54:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2018-03-20 17:29:09 +01:00
|
|
|
payment.Journal,
|
|
|
|
|
payment.Payment,
|
2022-03-19 22:16:29 +01:00
|
|
|
payment.Group,
|
2018-03-20 17:29:09 +01:00
|
|
|
payment.SucceedStart,
|
|
|
|
|
account.Move,
|
2022-04-11 20:51:41 +02:00
|
|
|
account.MoveReconciliation,
|
2019-04-12 15:59:24 +02:00
|
|
|
ir.Cron,
|
2014-09-17 21:54:48 +02:00
|
|
|
module='account_payment_clearing', type_='model')
|
2016-12-17 00:41:58 +01:00
|
|
|
Pool.register(
|
2022-03-19 22:16:29 +01:00
|
|
|
statement.Payment,
|
|
|
|
|
statement.PaymentGroup,
|
2018-03-20 17:29:09 +01:00
|
|
|
statement.Statement,
|
|
|
|
|
statement.StatementLine,
|
|
|
|
|
module='account_payment_clearing', type_='model',
|
|
|
|
|
depends=['account_statement'])
|
2019-01-17 17:34:50 +01:00
|
|
|
Pool.register(
|
|
|
|
|
statement.StatementRuleLine,
|
|
|
|
|
module='account_payment_clearing', type_='model',
|
|
|
|
|
depends=['account_statement_rule'])
|
2018-03-20 17:29:09 +01:00
|
|
|
Pool.register(
|
|
|
|
|
payment.Succeed,
|
2016-12-17 00:41:58 +01:00
|
|
|
module='account_payment_clearing', type_='wizard')
|