Files
2025-12-26 13:11:43 +00:00

28 lines
833 B
Python
Executable File

# 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, currency, purchase, sale
__all__ = ['register']
def register():
Pool.register(
account.Configuration,
account.ConfigurationCashRoundingAccount,
currency.Currency,
module='account_cash_rounding', type_='model')
Pool.register(
account.Invoice,
module='account_cash_rounding', type_='model',
depends=['account_invoice'])
Pool.register(
purchase.Purchase,
module='account_cash_rounding', type_='model',
depends=['purchase'])
Pool.register(
sale.Sale,
module='account_cash_rounding', type_='model',
depends=['sale'])