Files
tryton/modules/web_shop/__init__.py
T

34 lines
949 B
Python
Raw Normal View History

2020-10-12 18:09:43 +02:00
# 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']
2021-12-11 17:58:45 +01:00
from . import product, sale, web
2020-10-12 18:09:43 +02:00
def register():
Pool.register(
web.Shop,
web.Shop_Warehouse,
web.Shop_Product,
web.Shop_ProductCategory,
web.User,
2021-10-12 10:15:55 +02:00
product.Template,
2020-10-12 18:09:43 +02:00
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'])
2021-08-29 17:49:40 +02:00
Pool.register(
product.Image,
module='web_shop', type_='model', depends=['product_image'])
Pool.register(
web.Shop_TaxRuleCountry,
module='web_shop', type_='model', depends=['account_tax_rule_country'])