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.

61 lines
2.2 KiB

  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Authors: Nemry Jonathan & Laetitia Gangloff
  5. # Copyright (c) 2014 Acsone SA/NV (http://www.acsone.eu)
  6. # All Rights Reserved
  7. #
  8. # WARNING: This program as such is intended to be used by professional
  9. # programmers who take the whole responsibility of assessing all potential
  10. # consequences resulting from its eventual inadequacies and bugs.
  11. # End users who are looking for a ready-to-use solution with commercial
  12. # guarantees and support are strongly advised to contact a Free Software
  13. # Service Company.
  14. #
  15. # This program is free software: you can redistribute it and/or modify
  16. # it under the terms of the GNU Affero General Public License as
  17. # published by the Free Software Foundation, either version 3 of the
  18. # License, or (at your option) any later version.
  19. #
  20. # This program is distributed in the hope that it will be useful,
  21. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. # GNU Affero General Public License for more details.
  24. #
  25. # You should have received a copy of the GNU Affero General Public License
  26. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  27. #
  28. ##############################################################################
  29. {
  30. 'name': 'Read Only ByPass',
  31. 'version': '1.0',
  32. "author": "ACSONE SA/NV",
  33. "maintainer": "ACSONE SA/NV",
  34. "website": "http://www.acsone.eu",
  35. 'category': 'Technical Settings',
  36. 'depends': [
  37. 'base',
  38. 'web',
  39. ],
  40. 'description': """
  41. Read Only ByPass
  42. ================
  43. This Module provides a solution to the problem of the interaction between
  44. 'readonly' attribute and 'on_change' attribute when used together
  45. Behavior: add `readonly_fields` changed by `on_change` into the fields passing
  46. into an update or create. If `filter_out_readonly` is into the context and set
  47. True then apply native behavior.
  48. """,
  49. 'images': [],
  50. 'data': [
  51. 'views/readonly_bypass.xml',
  52. ],
  53. 'qweb': [
  54. ],
  55. 'css': [],
  56. 'demo': [],
  57. 'test': [],
  58. 'installable': True,
  59. 'auto_install': False,
  60. }