diff --git a/addons/auth_ldap/migrations/11.0.1.0/post-migration.py b/addons/auth_ldap/migrations/11.0.1.0/post-migration.py new file mode 100644 index 000000000000..75db2041182d --- /dev/null +++ b/addons/auth_ldap/migrations/11.0.1.0/post-migration.py @@ -0,0 +1,10 @@ +# Copyright 2020 Tecnativa - Jairo Llopis +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + # Let action direct to the tree view by default, as expected + env.ref('auth_ldap.action_ldap_installer').view_id = False