34 lines
907 B
Python
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')
|