Files
tryton/modules/analytic_invoice/__init__.py
T

26 lines
761 B
Python
Raw Normal View History

2014-12-02 12:54:57 +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.
2008-05-26 12:13:55 +02:00
2012-09-24 22:17:40 +02:00
from trytond.pool import Pool
2021-12-11 17:58:42 +01:00
from . import asset, invoice
2012-09-24 22:17:40 +02:00
def register():
Pool.register(
2018-03-20 17:29:42 +01:00
invoice.InvoiceLine,
invoice.AnalyticAccountEntry,
2012-09-24 22:17:40 +02:00
module='analytic_invoice', type_='model')
2018-03-20 17:29:42 +01:00
Pool.register(
asset.Asset,
module='analytic_invoice', type_='model',
depends=['account_asset'])
2023-05-30 16:30:04 +02:00
Pool.register(
invoice.InvoiceDeferred,
module='analytic_invoice', type_='model',
depends=['account_invoice_defer'])
Pool.register(
asset.UpdateAsset,
module='analytic_invoice', type_='wizard',
depends=['account_asset'])