Files
tryton/__init__.py
T
Cédric Krier 1459593cf9 Add sale_gift_card module
issue9257
review315331002
2021-04-04 15:50:01 +02: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')