Files
tryton/__init__.py
T
Cédric Krier b728cad576 Add cash rounding
issue1000
review282601002
2020-03-21 16:08:12 +01:00

31 lines
872 B
Python

# 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
from . import currency
from . import purchase
from . import 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'])