2014-12-02 12:54:33 +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-17 23:10:33 +01:00
|
|
|
|
|
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:41 +01:00
|
|
|
|
|
|
|
|
from . import account, party
|
2014-03-17 23:10:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2018-03-20 17:28:21 +01:00
|
|
|
account.Configuration,
|
|
|
|
|
account.ConfigurationDefaultCreditLimitAmount,
|
|
|
|
|
party.Party,
|
|
|
|
|
party.PartyCreditLimitAmount,
|
2014-03-17 23:10:33 +01:00
|
|
|
module='account_credit_limit', type_='model')
|
2018-03-20 17:28:21 +01:00
|
|
|
Pool.register(
|
|
|
|
|
account.Level,
|
|
|
|
|
module='account_credit_limit', type_='model',
|
|
|
|
|
depends=['account_dunning'])
|