[IMP]: resolved all conflicts
[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 With this module you are able to connect your OpenERP with a moodle plateform.
31 This module will create courses and students automatically in your moodle plateform to avoid wasting time.
32 Now you have a simple way to create training or courses with OpenERP and moodle
33
34
35 STEPS TO CONFIGURE
36 ------------------
37
38 1. activate web service in moodle
39 ----------------------------------
40 >site administration >plugins>web sevices >manage protocols 
41 activate the xmlrpc web service 
42
43
44 >site administration >plugins>web sevices >manage tokens
45 create a token 
46
47
48 >site administration >plugins>web sevices >overview
49 activate webservice
50
51
52 2. Create confirmation email with login and password
53 ----------------------------------------------------
54 we strongly suggest you to add those following lines at the bottom of your event confirmation email to communicate the login/password of moodle to your subscribers.
55
56
57 ........your configuration text.......
58
59 URL: your moodle link for exemple: http://openerp.moodle.com
60 LOGIN: ${object.moodle_username}
61 PASSWORD: ${object.moodle_user_password}
62 """,
63     'author': 'OpenERP SA',
64     'depends': ['event'],
65     'init_xml': [],
66     'data': [
67             'wizard_moodle.xml',
68             'event_view.xml',
69             'security/ir.model.access.csv'
70             ],
71     'demo_xml': [],
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: