Files
tryton/__init__.py
T
2018-02-13 19:09:11 +01:00

40 lines
1.0 KiB
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 .asset import *
from .product import *
from .invoice import *
from .account import *
from .purchase import *
def register():
Pool.register(
Asset,
AssetLine,
AssetUpdateMove,
CreateMovesStart,
UpdateAssetStart,
UpdateAssetShowDepreciation,
PrintDepreciationTableStart,
Category,
CategoryAccount,
Template,
TemplateAccount,
Product,
InvoiceLine,
Configuration,
ConfigurationAssetSequence,
Move,
Period,
PurchaseLine,
module='account_asset', type_='model')
Pool.register(
CreateMoves,
UpdateAsset,
PrintDepreciationTable,
module='account_asset', type_='wizard')
Pool.register(
AssetDepreciationTable,
module='account_asset', type_='report')