web_shop_woocommerce/__init__.py

32 lines
812 B
Python
Raw Normal View History

2020-06-04 17:09:33 +02:00
# 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 ir
2020-06-05 21:29:07 +02:00
from . import party
2020-06-04 17:09:33 +02:00
from . import product
from . import web
__all__ = ['register']
def register():
Pool.register(
ir.Cron,
web.ShopWooCommerceId,
web.Shop,
web.Sale,
2020-06-05 21:29:07 +02:00
party.Party,
party.Address,
2020-06-04 17:09:33 +02:00
product.Category,
product.Product,
module='web_shop_woocommerce', type_='model')
Pool.register(
module='web_shop_woocommerce', type_='wizard')
Pool.register(
module='web_shop_woocommerce', type_='report')
2023-02-14 16:10:42 +01:00
Pool.register(
web.Shop_SaleShipmentCost,
depends=['sale_shipment_cost'],
module='web_shop_woocommerce', type_='model')