Files
tryton/__init__.py
T
Cédric Krier dc6e017e2d Remove accounts from products
The edition of accounting categories are limited to accounting administrators.
If a product does not have an accounting category, the default value defined
on the configuration are used.

issue3805
review45111002
2018-06-20 12:09:04 +02:00

27 lines
820 B
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 . import product
from . import configuration
from . import account
def register():
Pool.register(
product.Category,
product.CategoryAccount,
product.CategoryCustomerTax,
product.CategorySupplierTax,
account.CreateChartProperties,
product.Template,
product.Product,
product.TemplateAccountCategory,
product.TemplateCategoryAll,
configuration.Configuration,
configuration.ConfigurationDefaultAccount,
module='account_product', type_='model')
Pool.register(
account.CreateChart,
module='account_product', type_='wizard')