2FA Invite mail

auth_totp_mail
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/auth_totp_mail
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Thibault Delavallée, Denis Ledoux, Toufik Ben Jaa, Julien Castiaux, std-odoo, Tiffany Chang (tic), Gorash, Mathieu Duckerts-Antoine, William Braeckman, Miquel Raïch, luvi, Renaud Thiry, Thomas Lefebvre (thle), Louis Wicket (wil), Dylan Kiss (dyki), bram1000, Martin Trigaux (mat), thle-odoo, Mathieu Coutant, Pierre Pulinckx, Bastien PIERRE, Krzysztof Magusiak (krma), Basioni (basm)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 14:10:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_totp
    - web
    - base
    - mail
    - base_setup
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
2FA Invite mail
===============
Allow the users to invite another user to use Two-Factor authentication
by sending an email to the target user. This email redirects them to:
- the users security settings if the user is internal.
- the portal security settings page if the user is not internal.
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_security_alert account_security_alert ir.ui.view qweb Inherits mail.account_security_alert
auth_totp_mail.res_users_view_form res.users.view.form.auth.totp.mail res.users form Inherits base.view_users_form_simple_modif
auth_totp_mail_form auth_totp_mail_form ir.ui.view qweb Inherits auth_totp.auth_totp_form
res_config_settings_view_form res.config.settings.view.form.inherit.auth_totp_mail_enforce res.config.settings xpath Inherits base_setup.res_config_settings_view_form
view_users_form res.users.view.form.inherit.auth.totp.mail res.users xpath Inherits auth_totp.view_totp_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self)
    Notify users when trusted devices are removed from their account.

New fields (2)
  • auth_totp_enforce Boolean
    string='Enforce two-factor authentication'
  • auth_totp_policy Selection
    config_parameter='auth_totp.policy' string='Two-factor authentication enforcing policy' args: [('employee_required', 'Employees only'), ('all_required', 'All users')]
Public methods (1)
  • get_values(self)
    @api.model

New fields (0)

No new fields.

Public methods (5)
  • action_open_my_account_settings(self)
  • action_totp_invite(self)
  • authenticate(self, credential, user_agent_env)
    Send an alert on new connection. - 2FA enabled -> only for new device - Not enabled -> no alert
  • get_totp_invite_url(self)
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/auth_totp_mail
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Denis Ledoux, Yannick Tivisse, Odoo Online, Tiffany Chang (tic), Mathieu Duckerts-Antoine, William Braeckman, Renaud Thiry, Thomas Lefebvre (thle), Louis Wicket (wil), Dylan Kiss (dyki), sami odoo, Louis (wil), Pierre Pulinckx (PIPU), Bastien PIERRE
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_totp
    - web
    - base
    - mail
    - base_setup
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
2FA Invite mail
===============
Allow the users to invite another user to use Two-Factor authentication
by sending an email to the target user. This email redirects them to:
- the users security settings if the user is internal.
- the portal security settings page if the user is not internal.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_security_setting_update account_security_setting_update ir.ui.view qweb Inherits mail.account_security_setting_update
auth_totp_mail.res_users_view_form res.users.view.form.auth.totp.mail res.users form Inherits base.view_users_form_simple_modif
view_users_form res.users.view.form.inherit.auth.totp.mail res.users xpath Inherits auth_totp.view_totp_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self)
    Notify users when trusted devices are removed from their account.

New fields (0)

No new fields.

Public methods (4)
  • action_open_my_account_settings(self)
  • action_totp_invite(self)
  • get_totp_invite_url(self)
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/auth_totp_mail
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Thibault Delavallée, Denis Ledoux, Géry Debongnie, Yannick Tivisse, Odoo Online, Romain Derie, Aurélien Warnon, Joseph Caburnay, Tiffany Chang (tic), Gorash, William Braeckman, Antoine Vandevenne (anv), Renaud Thiry, Louis Wicket (wil), Dylan Kiss (dyki), Michael (mcm), Louis (wil), Pierre Pulinckx (pipu)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_totp
    - web
    - base
    - mail
    - base_setup
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
2FA Invite mail
===============
Allow the users to invite another user to use Two-Factor authentication
by sending an email to the target user. This email redirects them to:
- the users security settings if the user is internal.
- the portal security settings page if the user is not internal.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
account_security_setting_update account_security_setting_update ir.ui.view qweb Inherits mail.account_security_setting_update
auth_totp_mail.res_users_view_form res.users.view.form.auth.totp.mail res.users form Inherits base.view_users_form_simple_modif
view_users_form res.users.view.form.inherit.auth.totp.mail res.users xpath Inherits auth_totp.view_totp_form
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • unlink(self)
    Notify users when trusted devices are removed from their account.

New fields (0)

No new fields.

Public methods (4)
  • action_open_my_account_settings(self)
  • action_totp_invite(self)
  • get_totp_invite_url(self)
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/auth_totp_mail
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Thibault Delavallée, Géry Debongnie, Yannick Tivisse, Jorge Pinna Puissant, David Beguin, William Braeckman, Sébastien Alix, Fabio Barbero
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_totp
    - web
    - base
    - mail
    - base_setup
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
2FA Invite mail
===============
Allow the users to invite another user to use Two-Factor authentication
by sending an email to the target user. This email redirect them to :
- the users security settings if the user is internal.
- the portal security settings page if the user is not internal. 
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
auth_totp_mail.res_users_view_form res.users.view.form.auth.totp.mail res.users form Inherits base.view_users_form_simple_modif
view_users_form res.users.view.form.inherit.auth.totp.mail res.users xpath Inherits auth_totp.view_totp_form
Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • action_open_my_account_settings(self)
  • action_totp_invite(self)
  • get_totp_invite_url(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/auth_totp_mail
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Yannick Tivisse, David Beguin, Sébastien Alix, Nicolas Bayet
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_totp
    - web
    - base
    - mail
    - base_setup
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
2FA Invite mail
===============
Allow the users to invite another user to use Two-Factor authentication
by sending an email to the target user. This email redirect him to :
- the users security settings if the user is internal.
- the portal security settings page if the user is not internal. 
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
auth_totp_mail.res_users_view_form res.users.view.form.auth.totp.mail res.users form Inherits base.view_users_form_simple_modif
view_users_form res.users.view.form.inherit.auth.totp.mail res.users xpath Inherits auth_totp.view_totp_form
Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • action_open_my_account_settings(self)
  • action_totp_invite(self)
  • get_totp_invite_url(self)