Files
tryton/__init__.py
T
Cédric Krier 7a6c31aa99 Add web_shop_shopify module
issue10611
review362271002
2021-10-12 10:15:55 +02:00

33 lines
843 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.Template,
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'])
Pool.register(
product.Image,
module='web_shop', type_='model', depends=['product_image'])