From c020de59e44ce8320a782047d6f63cac34d4df35 Mon Sep 17 00:00:00 2001 From: David Beal Date: Wed, 24 Aug 2016 18:16:26 +0200 Subject: [PATCH] [IMP] add more logical keys in _get_authorized_password() --- secure_uninstall/models/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secure_uninstall/models/module.py b/secure_uninstall/models/module.py index 808942557..c529e19c3 100644 --- a/secure_uninstall/models/module.py +++ b/secure_uninstall/models/module.py @@ -10,7 +10,7 @@ from openerp.tools.config import config def _get_authorized_password(): """ You can define your own authorized keys """ - return [config.get("secure_uninstall")] + return [config.get("secure_uninstall"), config.get("admin_passwd")] class BaseModuleUpgrade(models.TransientModel):