Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docsource/modules180-190.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| auth_totp | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| auth_totp_mail | | |
| auth_totp_mail |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| |del| auth_totp_mail_enforce | | |
| |del| auth_totp_mail_enforce | |Merged into auth_totp_mail |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| auth_totp_portal | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2026 Tecnativa - Carlos Lopez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).


from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env, "auth_totp_mail", "19.0.1.0/noupdate_changes.xml")
openupgrade.delete_record_translations(
env.cr,
"auth_totp_mail",
["mail_template_totp_invite", "mail_template_totp_mail_code"],
["body_html"],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---Models in module 'auth_totp_mail'---
model auth.totp.rate.limit.log (moved to auth_totp) [transient]
# NOTHING TO DO: this is a transient model that was simply moved from another module.

---Fields in module 'auth_totp_mail'---
---XML records in module 'auth_totp_mail'---
DEL ir.model.access: auth_totp_mail_enforce.access_auth_totp_rate_limit_log [renamed to auth_totp module]
NEW ir.ui.view: auth_totp_mail.account_security_alert
NEW ir.ui.view: auth_totp_mail.auth_totp_mail_form
NEW ir.ui.view: auth_totp_mail.res_config_settings_view_form
DEL ir.ui.view: auth_totp_mail.account_security_setting_update
DEL ir.ui.view: auth_totp_mail_enforce.auth_totp_mail_form
DEL ir.ui.view: auth_totp_mail_enforce.res_config_settings_view_form
# NOTHING TO DO: Handled by ORM

NEW mail.template: auth_totp_mail.mail_template_totp_mail_code [renamed from auth_totp_mail_enforce module] (noupdate)
DEL mail.template: auth_totp_mail_enforce.mail_template_totp_mail_code [renamed to auth_totp_mail module] (noupdate)
# NOTHING TO DO: Handled in merged_modules
Loading