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.

59 lines
1.8 KiB

10 years ago
  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # OpenERP, Open Source Management Solution
  5. #
  6. # Copyright (c) 2014 Noviat nv/sa (www.noviat.com). All rights reserved.
  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': 'Show selected sheets with full width',
  24. 'version': '0.1',
  25. 'license': 'AGPL-3',
  26. 'author': 'Noviat',
  27. 'category': 'Hidden',
  28. 'description': """
  29. Description
  30. -----------
  31. This module adds a css class to change a Form Sheet view
  32. to cover the full screen.
  33. You can activate the Full Screen view by the creation of an
  34. inherited view with the following content:
  35. ::
  36. <xpath expr="//sheet" position="attributes">
  37. <attribute name="class">oe_form_sheet_full_screen</attribute>
  38. </xpath>
  39. Install the 'web_sheet_full_width' module if you want to have a full screen
  40. behaviour in all sheets.
  41. Acknowledgements
  42. ----------------
  43. Icon courtesy of http://www.picol.org/ (size_width.svg)
  44. """,
  45. 'depends': [
  46. 'web',
  47. ],
  48. 'data': [
  49. 'views/sheet.xml',
  50. ],
  51. 'active': False,
  52. 'installable': True,
  53. }