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
|
2018-03-20 17:29:09 +01:00
|
|
|
from . import payment
|
|
|
|
|
from . import account
|
|
|
|
|
from . import statement
|
2019-04-12 15:59:24 +02:00
|
|
|
from . import ir
|
2014-09-17 21:54:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2018-03-20 17:29:09 +01:00
|
|
|
payment.Journal,
|
|
|
|
|
payment.Payment,
|
|
|
|
|
payment.SucceedStart,
|
|
|
|
|
account.Move,
|
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(
|
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')
|