2016-06-27 19:18:17 +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
|
2020-03-01 12:33:54 +01:00
|
|
|
from . import user
|
2016-10-11 18:18:28 +02:00
|
|
|
from . import party
|
2020-09-17 17:18:02 +02:00
|
|
|
from . import ir
|
2016-06-27 19:18:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
user.User,
|
2020-10-12 18:11:20 +02:00
|
|
|
user.User_PartySecondary,
|
2020-03-01 12:33:54 +01:00
|
|
|
user.UserAuthenticateAttempt,
|
|
|
|
|
user.UserSession,
|
2020-09-17 17:18:02 +02:00
|
|
|
ir.Email,
|
|
|
|
|
ir.EmailTemplate,
|
2016-06-27 19:18:17 +02:00
|
|
|
module='web_user', type_='model')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
party.Replace,
|
|
|
|
|
party.Erase,
|
2016-06-27 19:18:17 +02:00
|
|
|
module='web_user', type_='wizard')
|
|
|
|
|
Pool.register(
|
2020-03-01 12:33:54 +01:00
|
|
|
user.EmailValidation,
|
|
|
|
|
user.EmailResetPassword,
|
2016-06-27 19:18:17 +02:00
|
|
|
module='web_user', type_='report')
|