Browse Source

[IMP] add more logical keys in _get_authorized_password()

pull/450/head
David Beal 8 years ago
parent
commit
c020de59e4
  1. 2
      secure_uninstall/models/module.py

2
secure_uninstall/models/module.py

@ -10,7 +10,7 @@ from openerp.tools.config import config
def _get_authorized_password(): def _get_authorized_password():
""" You can define your own authorized keys """ 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): class BaseModuleUpgrade(models.TransientModel):

Loading…
Cancel
Save