Signup
auth_signup · odoo/odoo
Health
100/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by25/257 modules depend on it
-
Maturity25/25In 14 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
7
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
1.51 MB
Module directory on disk
Code analysis
0 migration notes
4 models
9 views
5 HTTP endpoints
Description
Allow users to sign up and reset their password
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- auth_oauth, auth_password_policy_signup, hr, portal, survey, website, website_forum
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
auth_signup.fields |
Auth Signup/ResetPassword form fields | ir.ui.view | qweb | New |
auth_signup.login |
Sign up - Reset Password | ir.ui.view | qweb | Inherits web.login |
auth_signup.reset_password |
Reset password | ir.ui.view | qweb | New |
auth_signup.signup |
Sign up login | ir.ui.view | qweb | New |
login_successful |
login_successful | ir.ui.view | qweb | Inherits web.login_successful |
res_config_settings_view_form |
res.config.settings.view.form.inherit.auth.signup | res.config.settings | form | Inherits base_setup.res_config_settings_view_form |
res_users_view_form |
res.users.form.inherit | res.users | form | Inherits base.view_users_form |
reset_password_email |
User Reset Password | ir.ui.view | qweb | New |
view_users_state_tree |
res.users.list.inherit | res.users | list | Inherits base.view_users_tree |
HTTP endpoints 5
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | AuthBaseSetup.base_setup_data |
inherited | http | ALL | |
/web/reset_password |
AuthSignupHome.web_auth_reset_password |
public | http | ALL | sudo website |
/web/signup |
AuthSignupHome.web_auth_signup |
public | http | ALL | sudo website |
| (inherited route override) | AuthSignupHome.web_login |
inherited | http | ALL | |
/.well-known/change-password |
AuthSignupHome.well_known_change_password |
public | http | GET |
Models touched 4
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (3)
-
auth_signup_reset_passwordBooleanconfig_parameter='auth_signup.reset_password'string='Enable password reset from Login page' -
auth_signup_template_user_idMany2one → res.usersconfig_parameter='base.template_portal_user_id'string='Template user for new users created through signup' args: 'res.users' -
auth_signup_uninvitedSelectionconfig_parameter='auth_signup.invitation_scope'default='b2c'selection=[('b2b', 'On invitation'), ('b2c', 'Free sign up')]string='Customer Account'
No public methods.
New fields (1)
-
signup_typeCharcopy=Falsegroups='base.group_erp_manager'string='Signup Token Type'
-
action_signup_prepare(self) -
signup_cancel(self) -
signup_get_auth_param(self)@api.privateGet a signup token related to the partner if signup is enabled. If the partner already has a user, get the login parameter. -
signup_prepare(self, signup_type='signup')generate a new token for the partners with the given validity, if necessary
New fields (1)
-
stateSelectioncompute='_compute_state'search='_search_state'selection=[('new', 'Invited'), ('active', 'Confirmed'), ('inactive', 'Inactive')]string='Status'tracking=4
-
action_reset_password(self) -
copy(self, default=None) -
create(self, vals_list)@api.model_create_multi -
get_reset_password_link(self)Generate a new valid link to reset the password. -
reset_password(self, login)retrieve the user corresponding to login (login or email), and reset their password -
send_unregistered_user_reminder(self, *, after_days=5, batch_size=100) -
signup(self, values, token=None)@api.modelsignup a user, to either: - create a new user (no token), or - create a user for a partner (with token, but no user for partner), or - change the password of a user (with token, and existing user). :param values: a dictionary with field values that are written on user :param token: signup token (optional) :return: (dbname, login, password) for the signed up user -
web_create_users(self, emails)@api.model -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…