2018-10-28 00:20:56 +02: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
|
|
|
|
|
from . import res
|
2019-04-12 15:59:25 +02:00
|
|
|
from . import ir
|
2018-10-28 00:20:56 +02:00
|
|
|
|
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
|
|
|
|
res.Role,
|
|
|
|
|
res.RoleGroup,
|
|
|
|
|
res.User,
|
|
|
|
|
res.UserRole,
|
2019-04-12 15:59:25 +02:00
|
|
|
ir.Cron,
|
2018-10-28 00:20:56 +02:00
|
|
|
module='user_role', type_='model')
|
|
|
|
|
Pool.register(
|
|
|
|
|
module='user_role', type_='wizard')
|
|
|
|
|
Pool.register(
|
|
|
|
|
module='user_role', type_='report')
|