2019-03-30 17:35:04 +01: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
|
|
|
|
|
|
2021-12-11 17:58:45 +01:00
|
|
|
from . import routes, web
|
2019-03-30 17:35:04 +01:00
|
|
|
|
|
|
|
|
__all__ = ['register', 'routes']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
web.ShortenedURL,
|
|
|
|
|
web.URLAccess,
|
|
|
|
|
module='web_shortener', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
module='web_shortener', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
module='web_shortener', type_='report')
|