Files
tryton/modules/sale_gift_card/__init__.py
T
2022-12-16 16:20:36 +01:00

34 lines
907 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 . import account
from . import product
from . import sale
from . import stock
__all__ = ['register']
def register():
Pool.register(
account.Configuration,
account.ConfigurationGiftCardAccount,
account.AccountTypeTemplate,
account.AccountType,
account.InvoiceLine,
product.Template,
product.Product,
sale.Configuration,
sale.ConfigurationGiftCardSequence,
sale.GiftCard,
sale.Sale,
sale.Line,
stock.Move,
module='sale_gift_card', type_='model')
Pool.register(
module='sale_gift_card', type_='wizard')
Pool.register(
sale.GiftCardEmail,
module='sale_gift_card', type_='report')