29 lines
706 B
Python
29 lines
706 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
|
||
|
|
|
||
|
|
__all__ = ['register']
|
||
|
|
|
||
|
|
from . import web
|
||
|
|
from . import product
|
||
|
|
from . import sale
|
||
|
|
|
||
|
|
|
||
|
|
def register():
|
||
|
|
Pool.register(
|
||
|
|
web.Shop,
|
||
|
|
web.Shop_Warehouse,
|
||
|
|
web.Shop_Product,
|
||
|
|
web.Shop_ProductCategory,
|
||
|
|
web.User,
|
||
|
|
product.Product,
|
||
|
|
product.Category,
|
||
|
|
sale.Sale,
|
||
|
|
module='web_shop', type_='model')
|
||
|
|
Pool.register(
|
||
|
|
web.ShopAttribute,
|
||
|
|
web.Shop_Attribute,
|
||
|
|
product.Attribute,
|
||
|
|
module='web_shop', type_='model', depends=['product_attribute'])
|