2014-12-02 12:54:48 +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-10-25 16:48:23 +02:00
|
|
|
|
2012-09-24 22:17:35 +02:00
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:41 +01:00
|
|
|
|
|
|
|
|
from . import account, analytic_account, configuration, product
|
2012-09-24 22:17:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2018-06-20 12:09:04 +02:00
|
|
|
product.Category,
|
|
|
|
|
product.CategoryAccount,
|
|
|
|
|
product.CategoryCustomerTax,
|
|
|
|
|
product.CategorySupplierTax,
|
2017-09-20 17:54:28 +02:00
|
|
|
account.CreateChartProperties,
|
2018-06-20 12:09:04 +02:00
|
|
|
product.Template,
|
|
|
|
|
product.Product,
|
|
|
|
|
product.TemplateAccountCategory,
|
|
|
|
|
product.TemplateCategoryAll,
|
|
|
|
|
configuration.Configuration,
|
|
|
|
|
configuration.ConfigurationDefaultAccount,
|
2012-09-24 22:17:35 +02:00
|
|
|
module='account_product', type_='model')
|
2019-03-03 23:06:25 +01:00
|
|
|
Pool.register(
|
|
|
|
|
account.MoveLine,
|
|
|
|
|
analytic_account.Rule,
|
|
|
|
|
module='account_product', type_='model', depends=['analytic_account'])
|
2017-09-20 17:54:28 +02:00
|
|
|
Pool.register(
|
|
|
|
|
account.CreateChart,
|
|
|
|
|
module='account_product', type_='wizard')
|