~opencrea/+junk/aprobio

« back to all changes in this revision

Viewing changes to module_prototyper/templates/8.0/__openerp__.py.template

  • Committer: joannes
  • Date: 2017-05-17 09:40:42 UTC
  • Revision ID: joannes@debian-20170517094042-47q3j6on72w2h1il
community module

Show diffs side-by-side

added added

removed removed

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