You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
2.5 KiB

  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Authentification - Generate Password module for Odoo
  5. # Copyright (C) 2014 GRAP (http://www.grap.coop)
  6. # @author Sylvain LE GAL (https://twitter.com/legalsylvain)
  7. #
  8. # This program is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU Affero General Public License as
  10. # published by the Free Software Foundation, either version 3 of the
  11. # License, or (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU Affero General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Affero General Public License
  19. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. #
  21. ##############################################################################
  22. {
  23. 'name': 'Authentification - Generate Password',
  24. 'version': '1.0',
  25. 'category': 'Tools',
  26. 'description': """
  27. Password Secure
  28. ===============
  29. Functionnality:
  30. ---------------
  31. * Forbid users to change them password;
  32. * Only members of base.group_system can change password; OK.
  33. * Add a button to the res_users form:
  34. * to change the password (randomly generated);
  35. * send an email to each users;
  36. Settings:
  37. ---------
  38. * Once the module installed, you have to set two settings:
  39. * password size: the size of the password generated (6 by default);
  40. * password chars: the list of allowed chars (by default ASCII letters
  41. and digits); You can:
  42. * set a list of chars like 'abcdef';
  43. * use string function like string.ascii_letters;
  44. * Be sure that an Outgoing Email Server is correctly configured;
  45. Copyright, Author and Licence :
  46. -------------------------------
  47. * Copyright : 2014, Groupement Regional Alimentaire de Proximite;
  48. * Author : Sylvain LE GAL (https://twitter.com/legalsylvain);
  49. * Licence : AGPL-3 (http://www.gnu.org/licenses/)
  50. """,
  51. 'author': 'GRAP',
  52. 'website': 'http://www.grap.coop',
  53. 'license': 'AGPL-3',
  54. 'depends': [
  55. 'email_template',
  56. ],
  57. 'data': [
  58. 'data/ir_config_parameter.yml',
  59. 'data/email_template.xml',
  60. 'view/view.xml',
  61. ],
  62. 'demo': [
  63. 'demo/res_groups.yml',
  64. 'demo/res_users.yml',
  65. ],
  66. }