43 lines
1.3 KiB
Python
Executable File
43 lines
1.3 KiB
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, asset, invoice, product, purchase
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
asset.Asset,
|
|
asset.AssetLine,
|
|
asset.AssetUpdateMove,
|
|
asset.CreateMovesStart,
|
|
asset.AssetRevision,
|
|
asset.UpdateAssetShowDepreciation,
|
|
asset.PrintDepreciationTableStart,
|
|
product.Category,
|
|
product.CategoryAccount,
|
|
product.Template,
|
|
product.Product,
|
|
invoice.InvoiceLine,
|
|
account.Configuration,
|
|
account.ConfigurationAssetSequence,
|
|
account.ConfigurationAssetDate,
|
|
account.ConfigurationAssetFrequency,
|
|
account.AccountTypeTemplate,
|
|
account.AccountType,
|
|
account.Move,
|
|
account.Period,
|
|
account.Journal,
|
|
module='account_asset', type_='model')
|
|
Pool.register(
|
|
purchase.Line,
|
|
module='account_asset', type_='model', depends=['purchase'])
|
|
Pool.register(
|
|
asset.CreateMoves,
|
|
asset.UpdateAsset,
|
|
asset.PrintDepreciationTable,
|
|
module='account_asset', type_='wizard')
|
|
Pool.register(
|
|
asset.AssetDepreciationTable,
|
|
module='account_asset', type_='report')
|