Skip to content
Open
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
2 changes: 1 addition & 1 deletion docsource/modules180-190.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Module coverage 18.0 -> 19.0
+---------------------------------------------------+----------------------+-------------------------------------------------+
| auth_ldap | |No DB layout changes. |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| auth_oauth | | |
| auth_oauth |Done | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
| auth_passkey | | |
+---------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
16 changes: 16 additions & 0 deletions openupgrade_scripts/scripts/auth_oauth/19.0.1.0/post-migration.py
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_oauth", "19.0.1.0/noupdate_changes.xml")
openupgrade.delete_record_translations(
env.cr,
"auth_oauth",
["provider_facebook", "provider_google", "provider_openerp"],
["body"],
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---Models in module 'auth_oauth'---
---Fields in module 'auth_oauth'---
---XML records in module 'auth_oauth'---
DEL ir.ui.view: auth_oauth.login
DEL ir.ui.view: auth_oauth.reset_password
DEL ir.ui.view: auth_oauth.signup
DEL ir.ui.view: auth_oauth.view_users_form
# NOTHING TO DO: Handled by ORM
Loading