[IMP] move http layer from openerp-web to openobject-server, convert controllers...
[odoo/odoo.git] / addons / event_moodle / __openerp__.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Management Solution
5 #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
6 #
7 #    This program is free software: you can redistribute it and/or modify
8 #    it under the terms of the GNU Affero General Public License as
9 #    published by the Free Software Foundation, either version 3 of the
10 #    License, or (at your option) any later version.
11 #
12 #    This program is distributed in the hope that it will be useful,
13 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #    GNU Affero General Public License for more details.
16 #
17 #    You should have received a copy of the GNU Affero General Public License
18 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 #
20 ##############################################################################
21
22
23 {
24     'name': 'Event Moodle',
25     'version': '0.1',
26     'category': 'Tools',
27     'description': """
28 Configure your moodle server.
29 ============================= 
30
31 With this module you are able to connect your OpenERP with a moodle platform.
32 This module will create courses and students automatically in your moodle platform 
33 to avoid wasting time.
34 Now you have a simple way to create training or courses with OpenERP and moodle.
35
36 STEPS TO CONFIGURE:
37 -------------------
38
39 1. Activate web service in moodle.
40 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41 >site administration >plugins >web services >manage protocols activate the xmlrpc web service 
42
43
44 >site administration >plugins >web services >manage tokens create a token 
45
46
47 >site administration >plugins >web services >overview activate webservice
48
49
50 2. Create confirmation email with login and password.
51 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 We strongly suggest you to add those following lines at the bottom of your event
53 confirmation email to communicate the login/password of moodle to your subscribers.
54
55
56 ........your configuration text.......
57
58 **URL:** your moodle link for exemple: http://openerp.moodle.com
59
60 **LOGIN:** ${object.moodle_username}
61
62 **PASSWORD:** ${object.moodle_user_password}
63 """,
64     'author': 'OpenERP SA',
65     'depends': ['event'],
66     'data': [
67         'wizard_moodle.xml',
68         'event_view.xml',
69         'security/ir.model.access.csv'
70     ],
71     'demo': [],
72     'test': [],
73     'installable': True,
74     'auto_install': False,
75     'images': ['images/token.png','images/enable_webservice.png','images/active_xmlrpc.png'],
76 }
77 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: