-
Notifications
You must be signed in to change notification settings - Fork 2
/
__init__.py
30 lines (25 loc) · 962 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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 category, configuration, ir, product, uom
from .product import price_digits, round_price
from .uom import uom_conversion_digits
__all__ = [price_digits, round_price, uom_conversion_digits]
def register():
Pool.register(
ir.Configuration,
uom.UomCategory,
uom.Uom,
category.Category,
product.Template,
product.Product,
product.ProductIdentifier,
product.ProductListPrice,
# before ProductCostPrice for migration
product.ProductCostPriceMethod,
product.ProductCostPrice,
product.TemplateCategory,
product.TemplateCategoryAll,
configuration.Configuration,
configuration.ConfigurationDefaultCostPriceMethod,
module='product', type_='model')