Skip to content

Commit

Permalink
Merge pull request #2791 from ForgeFlow/14.0-mig-auth_signup
Browse files Browse the repository at this point in the history
[14.0][MIG] auth_signup
  • Loading branch information
pedrobaeza authored Jul 9, 2021
2 parents b4be9b6 + 9f6f5cd commit a73d384
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docsource/modules130-140.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Module coverage 13.0 -> 14.0
+--------------------------------------------+-------------------------------------------------+
|auth_password_policy_signup | |
+--------------------------------------------+-------------------------------------------------+
|auth_signup | |
|auth_signup | Done |
+--------------------------------------------+-------------------------------------------------+
| |new| auth_totp | |
+--------------------------------------------+-------------------------------------------------+
Expand Down
13 changes: 13 additions & 0 deletions openupgrade_scripts/scripts/auth_signup/14.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2021 ForgeFlow S.L. <https://www.forgeflow.com>
# 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.cr, "auth_signup", "14.0.1.0/noupdate_changes.xml")
openupgrade.delete_record_translations(
env.cr,
"auth_signup",
["mail_template_user_signup_account_created", "reset_password_email"],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---Models in module 'auth_signup'---
---Fields in module 'auth_signup'---
---XML records in module 'auth_signup'---
NEW ir.actions.server: auth_signup.action_send_password_reset_instructions
# NOTHING TO DO

0 comments on commit a73d384

Please sign in to comment.