Files
tryton/__init__.py
T
Cédric Krier 796a821921 Show all products by category
Use an Union to collect all the possible link between product and categories.
This Union is used for the tree_open action on categories to show products
linked by any ways.

issue6794
review42671002
2017-10-02 16:06:36 +02:00

26 lines
683 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 .uom import *
from .category import *
from .product import *
from .configuration import *
def register():
Pool.register(
UomCategory,
Uom,
Category,
Template,
Product,
ProductListPrice,
ProductCostPriceMethod, # before ProductCostPrice for migration
ProductCostPrice,
TemplateCategory,
TemplateCategoryAll,
Configuration,
ConfigurationDefaultCostPriceMethod,
module='product', type_='model')