diff --git a/docsource/modules160-170.rst b/docsource/modules160-170.rst index 39b03c8be720..1972f4840774 100644 --- a/docsource/modules160-170.rst +++ b/docsource/modules160-170.rst @@ -56,7 +56,7 @@ Module coverage 16.0 -> 17.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | auth_password_policy_signup | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| auth_signup | | | +| auth_signup | Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | auth_totp | Nothing to do |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/auth_signup/17.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/auth_signup/17.0.1.0/pre-migration.py new file mode 100644 index 000000000000..1818e8e01e7f --- /dev/null +++ b/openupgrade_scripts/scripts/auth_signup/17.0.1.0/pre-migration.py @@ -0,0 +1,12 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from openupgradelib import openupgrade + +_deleted_xml_records = ["auth_signup.reset_password_email"] + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.delete_records_safely_by_xml_id( + env, + _deleted_xml_records, + ) diff --git a/openupgrade_scripts/scripts/auth_signup/17.0.1.0/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/auth_signup/17.0.1.0/upgrade_analysis_work.txt new file mode 100644 index 000000000000..66f79d9778a2 --- /dev/null +++ b/openupgrade_scripts/scripts/auth_signup/17.0.1.0/upgrade_analysis_work.txt @@ -0,0 +1,11 @@ +---Models in module 'auth_signup'--- +---Fields in module 'auth_signup'--- +---XML records in module 'auth_signup'--- +NEW ir.ui.view: auth_signup.alert_login_new_device + +# NOTHING TO DO + +NEW ir.ui.view: auth_signup.reset_password_email +DEL mail.template: auth_signup.reset_password_email (noupdate) + +# DONE: delete the xmlid in pre-migration