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
|
2018-03-20 17:29:42 +01:00
|
|
|
from . import invoice
|
2016-10-12 22:36:54 +02:00
|
|
|
from . import asset
|
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'])
|