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.

54 lines
1.6 KiB

  1. {% extends "header.template" %}
  2. {% block body %}
  3. {
  4. 'name': '{{ prototype.human_name }}',
  5. 'version': '{{ prototype.version }}',
  6. 'author': '{{ prototype.author }}',
  7. 'maintainer': '{{ prototype.maintainer }}',
  8. 'website': '{{ prototype.website }}',
  9. 'license': '{{ prototype.licence }}',
  10. # Categories can be used to filter modules in modules listing
  11. # Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml # noqa
  12. # for the full list
  13. 'category': '{{ prototype.with_context({}).category_id.name }}',{# In english please! #}
  14. 'summary': '{{ prototype.summary }}',
  15. 'description': """
  16. {{ prototype.description }}
  17. """,
  18. # any module necessary for this one to work correctly
  19. 'depends': [
  20. {% for dependency in prototype.dependency_ids %}
  21. '{{ dependency.name }}',
  22. {% endfor %}
  23. ],
  24. 'external_dependencies': {
  25. 'python': [],
  26. },
  27. # always loaded
  28. 'data': [
  29. {% for data_file in data_files %}
  30. '{{ data_file }}',
  31. {% endfor %}
  32. ],
  33. # only loaded in demonstration mode
  34. 'demo': [
  35. {% for demo_file in prototype.demo_ids %}
  36. '{{ demo_file.name }}',
  37. {% endfor %}
  38. ],
  39. 'js': [],
  40. 'css': [],
  41. 'qweb': [],
  42. 'installable': True,
  43. # Install this module automatically if all dependency have been previously
  44. # and independently installed. Used for synergetic or glue modules.
  45. 'auto_install': {{ prototype.auto_install }},
  46. 'application': {{ prototype.application }},
  47. }
  48. {% endblock %}