12 | This module prevents none released events to be invoiced even if other parts of Odoo does try to
13 | invoice lines where there is events registries.
14 | To be invoiced a) the registrant has to be confirmed b) you have to use the Invoice button on the event.
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/website_event_calendar/__init__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Copyright (C) 2016 Onestein ().
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU Affero General Public License as
8 | # published by the Free Software Foundation, either version 3 of the
9 | # License, or (at your option) any later version.
10 | #
11 | # This program is distributed in the hope that it will be useful,
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | # GNU Affero General Public License for more details.
15 | #
16 | # You should have received a copy of the GNU Affero General Public License
17 | # along with this program. If not, see .
18 | #
19 | ##############################################################################
20 |
21 | import controllers
--------------------------------------------------------------------------------
/website_event_category/__init__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Copyright (C) 2016 Onestein ().
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU Affero General Public License as
8 | # published by the Free Software Foundation, either version 3 of the
9 | # License, or (at your option) any later version.
10 | #
11 | # This program is distributed in the hope that it will be useful,
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | # GNU Affero General Public License for more details.
15 | #
16 | # You should have received a copy of the GNU Affero General Public License
17 | # along with this program. If not, see .
18 | #
19 | ##############################################################################
20 |
21 | import controllers
22 | import event
23 |
--------------------------------------------------------------------------------
/website_event_participant/__init__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Copyright (C) 2016 Onestein ().
5 | #
6 | # This program is free software: you can redistribute it and/or modify
7 | # it under the terms of the GNU Affero General Public License as
8 | # published by the Free Software Foundation, either version 3 of the
9 | # License, or (at your option) any later version.
10 | #
11 | # This program is distributed in the hope that it will be useful,
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | # GNU Affero General Public License for more details.
15 | #
16 | # You should have received a copy of the GNU Affero General Public License
17 | # along with this program. If not, see .
18 | #
19 | ##############################################################################
20 |
21 | import controllers
22 | import event
23 |
--------------------------------------------------------------------------------
/event_participant_labels/i18n/event_participant_labels.pot:
--------------------------------------------------------------------------------
1 | # Translation of Odoo Server.
2 | # This file contains the translation of the following modules:
3 | # * event_participant_labels
4 | #
5 | msgid ""
6 | msgstr ""
7 | "Project-Id-Version: Odoo Server 8.0-20160918\n"
8 | "Report-Msgid-Bugs-To: \n"
9 | "POT-Creation-Date: 2016-09-21 12:33+0000\n"
10 | "PO-Revision-Date: 2016-09-21 12:33+0000\n"
11 | "Last-Translator: <>\n"
12 | "Language-Team: \n"
13 | "MIME-Version: 1.0\n"
14 | "Content-Type: text/plain; charset=UTF-8\n"
15 | "Content-Transfer-Encoding: \n"
16 | "Plural-Forms: \n"
17 |
18 | #. module: event_participant_labels
19 | #: field:event.participant,event_name:0
20 | msgid "Event Name"
21 | msgstr ""
22 |
23 | #. module: event_participant_labels
24 | #: field:event.participant,course_leader:0
25 | #: field:event.participant,parent_name:0
26 | #: field:event.participant,participant_name:0
27 | msgid "Name"
28 | msgstr ""
29 |
30 | #. module: event_participant_labels
31 | #: model:ir.actions.report.xml,name:event_participant_labels.action_participant_labels
32 | msgid "Participant Name Tags"
33 | msgstr ""
34 |
35 |
--------------------------------------------------------------------------------
/website_event_calendar/static/lib/fullcalendar/license.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013 Adam Shaw
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/event_participant_labels/i18n/sv.po:
--------------------------------------------------------------------------------
1 | # Translation of Odoo Server.
2 | # This file contains the translation of the following modules:
3 | # * event_participant_labels
4 | #
5 | msgid ""
6 | msgstr ""
7 | "Project-Id-Version: Odoo Server 8.0-20160918\n"
8 | "Report-Msgid-Bugs-To: \n"
9 | "POT-Creation-Date: 2016-09-21 12:33+0000\n"
10 | "PO-Revision-Date: 2016-09-21 14:34+0200\n"
11 | "Last-Translator: <>\n"
12 | "Language-Team: \n"
13 | "MIME-Version: 1.0\n"
14 | "Content-Type: text/plain; charset=UTF-8\n"
15 | "Content-Transfer-Encoding: 8bit\n"
16 | "Plural-Forms: \n"
17 | "Language: sv\n"
18 | "X-Generator: Poedit 1.8.7.1\n"
19 |
20 | #. module: event_participant_labels
21 | #: field:event.participant,event_name:0
22 | msgid "Event Name"
23 | msgstr "Evenemang Namn"
24 |
25 | #. module: event_participant_labels
26 | #: field:event.participant,course_leader:0
27 | #: field:event.participant,parent_name:0
28 | #: field:event.participant,participant_name:0
29 | msgid "Name"
30 | msgstr "Namn"
31 |
32 | #. module: event_participant_labels
33 | #: model:ir.actions.report.xml,name:event_participant_labels.action_participant_labels
34 | msgid "Participant Name Tags"
35 | msgstr "Deltagare Namn Taggar"
36 |
--------------------------------------------------------------------------------
/website_event_image/website_event_image.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | Events
14 | event.event
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/event_messagemenu/i18n/event_messagemenu.pot:
--------------------------------------------------------------------------------
1 | # Translation of Odoo Server.
2 | # This file contains the translation of the following modules:
3 | # * event_messagemenu
4 | #
5 | msgid ""
6 | msgstr ""
7 | "Project-Id-Version: Odoo Server 8.0-20161208\n"
8 | "Report-Msgid-Bugs-To: \n"
9 | "POT-Creation-Date: 2017-02-28 09:20+0000\n"
10 | "PO-Revision-Date: 2017-02-28 09:20+0000\n"
11 | "Last-Translator: <>\n"
12 | "Language-Team: \n"
13 | "MIME-Version: 1.0\n"
14 | "Content-Type: text/plain; charset=UTF-8\n"
15 | "Content-Transfer-Encoding: \n"
16 | "Plural-Forms: \n"
17 |
18 | #. module: event_messagemenu
19 | #: model:ir.actions.act_window,help:event_messagemenu.action_event_view
20 | msgid "
\n"
21 | " Click to add a new event.\n"
22 | "
\n"
23 | " Odoo helps you schedule and efficiently organize your events:\n"
24 | " track subscriptions and participations, automate the confirmation emails,\n"
25 | " sell tickets, etc.\n"
26 | "
27 |
28 |
29 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *$py.class
5 |
6 | # C extensions
7 | *.so
8 |
9 | # Distribution / packaging
10 | .Python
11 | env/
12 | build/
13 | develop-eggs/
14 | dist/
15 | downloads/
16 | eggs/
17 | .eggs/
18 | lib/
19 | lib64/
20 | parts/
21 | sdist/
22 | var/
23 | *.egg-info/
24 | .installed.cfg
25 | *.egg
26 |
27 | # PyInstaller
28 | # Usually these files are written by a python script from a template
29 | # before PyInstaller builds the exe, so as to inject date/other infos into it.
30 | *.manifest
31 | *.spec
32 |
33 | # Installer logs
34 | pip-log.txt
35 | pip-delete-this-directory.txt
36 |
37 | # Unit test / coverage reports
38 | htmlcov/
39 | .tox/
40 | .coverage
41 | .coverage.*
42 | .cache
43 | nosetests.xml
44 | coverage.xml
45 | *,cover
46 | .hypothesis/
47 |
48 | # Translations
49 | *.mo
50 |
51 | # Django stuff:
52 | *.log
53 | local_settings.py
54 |
55 | # Flask stuff:
56 | instance/
57 | .webassets-cache
58 |
59 | # Scrapy stuff:
60 | .scrapy
61 |
62 | # Sphinx documentation
63 | docs/_build/
64 |
65 | # PyBuilder
66 | target/
67 |
68 | # IPython Notebook
69 | .ipynb_checkpoints
70 |
71 | # pyenv
72 | .python-version
73 |
74 | # celery beat schedule file
75 | celerybeat-schedule
76 |
77 | # dotenv
78 | .env
79 |
80 | # virtualenv
81 | venv/
82 | ENV/
83 |
84 | # Spyder project settings
85 | .spyderproject
86 |
87 | # Rope project settings
88 | .ropeproject
89 |
--------------------------------------------------------------------------------
/event_messagemenu/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2017- Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 | {
22 | 'name': 'Event Message Menu',
23 | 'version': '0.1',
24 | 'summary': 'Menu for event calendar in message menu',
25 | 'category': 'event',
26 | 'description': """Menu for event calendar in message menu
27 |
28 | """,
29 | 'author': 'Vertel AB',
30 | 'license': 'AGPL-3',
31 | 'website': 'http://www.vertel.se',
32 | 'depends': ['event',],
33 | 'data': ['event_messagemenu_view.xml'],
34 | 'installable': True,
35 | }
36 |
--------------------------------------------------------------------------------
/event_participant_labels/wizard/labels_wizard.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | event.labels.wizard.form
6 | event.labels.wizard
7 | form
8 |
9 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/website_event_category/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Odoo, Open Source Enterprise Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Event Category',
24 | 'category': 'website',
25 | 'summary': 'Using Category as template for event on website.',
26 | 'version': '1.0',
27 | 'description': """
28 | Event Category
29 | ==============
30 |
31 | * Extends category to work as template for new events
32 | """,
33 | 'author': "Vertel AB",
34 | 'website': "http://vertel.se",
35 | 'depends': ['website_event'],
36 | 'data': [
37 | 'website_event.xml',
38 | ],
39 | 'demo': [],
40 | 'installable': True,
41 | 'auto_install': False,
42 | 'application': False,
43 | }
44 |
--------------------------------------------------------------------------------
/website_event_image/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2015 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Website Event Image',
24 | 'version': '0.1',
25 | 'category': 'Event',
26 | 'description': """
27 | Add simple views pages for products
28 | ===================================
29 | """,
30 | 'author': 'Vertel AB',
31 | 'license': 'AGPL-3',
32 | 'website': 'http://www.vertel.se',
33 | 'depends': ['website_event', 'website_imagemagick'],
34 | 'data': ['website_event_image.xml',
35 | 'website_event_image_data.xml'
36 | ],
37 | 'application': False,
38 | 'installable': True,
39 | }
40 | # vim:expandtab:smartindent:tabstop=4s:softtabstop=4:shiftwidth=4:
41 |
--------------------------------------------------------------------------------
/event_participant_labels/event_participant.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2016 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 | from openerp import models, fields, api, _
22 |
23 | import logging
24 | _logger = logging.getLogger(__name__)
25 |
26 |
27 | class event_participant(models.Model):
28 | _inherit = 'event.participant'
29 |
30 | parent_name = fields.Char(related="partner_id.parent_id.name")
31 | participant_name = fields.Char(related="partner_id.name")
32 | event_name = fields.Char(related="event_id.name")
33 | #~ event_type = fields.Char(related="event_id.event_type.name")
34 | course_leader = fields.Char(related="event_id.course_leader.name")
35 | #~ event_date = fields.Datetime(related="event_id.date_start")
36 |
--------------------------------------------------------------------------------
/website_event_calendar/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Odoo, Open Source Enterprise Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Event Calendar',
24 | 'category': 'website',
25 | 'summary': 'Event Calendar on website.',
26 | 'version': '1.0',
27 | 'description': """
28 | Event Calendar
29 | ==============
30 |
31 | * Configurable calendar on index page
32 | * Calendar snippet for use on any page
33 |
34 | """,
35 | 'author': "Vertel AB",
36 | 'website': "http://vertel.se",
37 | 'depends': ['website_event'],
38 | 'data': [
39 | 'website_event_calendar.xml',
40 | ],
41 | 'demo': [],
42 | 'installable': True,
43 | 'auto_install': False,
44 | 'application': False,
45 | }
46 |
--------------------------------------------------------------------------------
/website_event_image/website_event_image_data.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Big resize
8 | image.transform(resize=width+'x'+height+'>')
9 |
10 |
11 |
12 | width
13 | 1920
14 |
15 |
16 |
17 |
18 | height
19 | 640
20 |
21 |
22 |
23 |
24 |
25 |
26 | Banner resize
27 | image.transform(resize=width+'x'+height+'>')
28 |
29 |
30 |
31 | width
32 | 700
33 |
34 |
35 |
36 |
37 | height
38 | 700
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/website_event_participant/website_event.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | sale.order.line.form2.inherited.website_event_participant
7 | sale.order.line
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | disabled
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/event_invoice_release/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Event Invoice Release',
24 | 'version': '0.3',
25 | 'category': 'Event',
26 | 'summary': 'Release Event for Invoice',
27 | 'description': """
28 | * Event has to be released for invoice (invoice button on each event)
29 | * Order lines will not be invoiced before this condition is met
30 |
31 | """,
32 | 'images': ['static/description/event_participant.jpg'],
33 | 'author': 'Vertel AB',
34 | 'license': 'AGPL-3',
35 | 'website': 'http://www.vertel.se',
36 | 'depends': ['event_sale',],
37 | 'data': [ 'event_view.xml',
38 | ],
39 | 'application': False,
40 | 'installable': True,
41 | }
42 | # vim:expandtab:smartindent:tabstop=4s:softtabstop=4:shiftwidth=4:
43 |
--------------------------------------------------------------------------------
/event_participant_dermanord/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Event Participant Dermanord',
24 | 'version': '0.1',
25 | 'category': 'Event',
26 | 'summary': 'Handles participants of an event',
27 | 'description': """
28 | Special participant view for Dermanord.
29 | =======================================
30 | Financed by Dermanord-Svensk Hudvård AB
31 | """,
32 | 'author': 'Vertel AB',
33 | 'license': 'AGPL-3',
34 | 'website': 'http://www.vertel.se',
35 | 'depends': ['event_participant', 'account_dermanord', 'website_event_sale'],
36 | 'data': ['event_participant_view.xml',
37 | ],
38 | 'application': False,
39 | 'installable': True,
40 | }
41 | # vim:expandtab:smartindent:tabstop=4s:softtabstop=4:shiftwidth=4:
42 |
--------------------------------------------------------------------------------
/website_event_participant/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Odoo, Open Source Enterprise Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Website Event Participant',
24 | 'category': 'event',
25 | 'summary': 'Website Event Participant',
26 | 'version': '1.0',
27 | 'description': """
28 | Select or create partner while selecting event tickets
29 | ======================================================
30 |
31 | """,
32 | 'author': "Vertel AB",
33 | 'website': "http://vertel.se",
34 | 'depends': ['website_event', 'event_participant'],
35 | 'data': [
36 | 'website_event.xml',
37 | 'security/ir.model.access.csv',
38 | ],
39 | 'demo': [],
40 | 'qweb': ['static/src/xml/templates.xml',],
41 | 'installable': True,
42 | 'auto_install': False,
43 | 'application': False,
44 | }
45 |
--------------------------------------------------------------------------------
/event_participant_diploma/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2016 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Event Participant Diploma',
24 | 'version': '0.3',
25 | 'category': 'Event',
26 | 'summary': 'Print Diplomas for participants',
27 | 'description': """Print Diplomas for participants using a Scribus template.
28 | If you want to change the layout of the document, you can do that with
29 | the template saved on the report record.""",
30 | 'author': 'Vertel AB',
31 | 'license': 'AGPL-3',
32 | 'website': 'http://www.vertel.se',
33 | 'depends': ['event_participant', 'report_scribus'],
34 | 'data': ['event_participant_report.xml'],
35 | 'application': False,
36 | 'installable': True,
37 | }
38 | # vim:expandtab:smartindent:tabstop=4s:softtabstop=4:shiftwidth=4:
39 |
--------------------------------------------------------------------------------
/event_messagemenu/event_messagemenu_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Events
9 | ir.actions.act_window
10 | event.event
11 | form
12 | calendar,kanban,tree,form
13 | {"search_default_upcoming":1}
14 |
15 |
16 |
17 |
18 | Click to add a new event.
19 |
20 | Odoo helps you schedule and efficiently organize your events:
21 | track subscriptions and participations, automate the confirmation emails,
22 | sell tickets, etc.
23 |
24 |
25 |
26 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/event_participant_labels/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2016 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Event Participant Labels',
24 | 'version': '0.3',
25 | 'category': 'Event',
26 | 'summary': 'Print Name Tags for participants',
27 | 'description': """Print Name Tags (labels) for participants using gLabels-program.
28 | If you want to change the layout of the document, you can do that with
29 | the template saved on the report record. """,
30 | 'author': 'Vertel AB',
31 | 'license': 'AGPL-3',
32 | 'website': 'http://www.vertel.se',
33 | 'depends': ['event_participant','report_glabels'],
34 | 'data': ['event_participant_report.xml',],
35 | 'application': False,
36 | 'installable': True,
37 | }
38 | # vim:expandtab:smartindent:tabstop=4s:softtabstop=4:shiftwidth=4:
39 |
--------------------------------------------------------------------------------
/event_participant/__openerp__.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2015 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | {
23 | 'name': 'Event Participant',
24 | 'version': '0.2',
25 | 'category': 'Event',
26 | 'summary': 'Handles participants of an event',
27 | 'description': """
28 | Add a participants list in event registration
29 | =============================================
30 | """,
31 | 'images': ['static/description/event_participant.jpg'],
32 | 'author': 'Vertel AB',
33 | 'license': 'AGPL-3',
34 | 'website': 'http://www.vertel.se',
35 | 'depends': ['event_sale', 'report'],
36 | 'data': ['event_participant_view.xml',
37 | 'security/ir.model.access.csv',
38 | 'event_participant_report.xml'
39 | ],
40 | 'application': False,
41 | 'installable': True,
42 | }
43 | # vim:expandtab:smartindent:tabstop=4s:softtabstop=4:shiftwidth=4:
44 |
--------------------------------------------------------------------------------
/event_participant_labels/event_participant_data.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/event_invoice_release/event_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Create Invoice
6 | event.invoice
7 |
8 |
19 |
20 |
21 |
22 |
23 | Events
24 | event.event
25 |
26 |
27 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | account.invoice.select_with_origin
37 | account.invoice
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/website_event_image/website_event_image.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2015 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 | from openerp import models, fields, api, _
22 | from openerp.exceptions import except_orm, Warning, RedirectWarning
23 | from openerp import http
24 | from openerp.http import request
25 | from openerp import SUPERUSER_ID
26 | from datetime import datetime
27 | import werkzeug
28 | import os
29 |
30 |
31 | import logging
32 | _logger = logging.getLogger(__name__)
33 |
34 |
35 | #~ class website_event_image(http.Controller):
36 |
37 |
38 | class website(models.Model):
39 | _inherit = 'website'
40 |
41 | def event_image_url(self, record, recipe):
42 | """Returns a local url that points to the image field of a given browse record."""
43 | if record.image:
44 | return self.imagemagick_url(record, 'image', recipe)
45 | return '/imageurl/%s/ref/%s' % (os.path.join('web', 'static', 'src', 'img', 'stock_person.png'), recipe) #TODO: This doesn't work. Fix it.
46 |
47 | #~ @http.route([
48 | #~ '/eventimage/',
49 | #~ ],
50 | #~ type='http', auth="public", website=True)
51 | #~ def view_simple_event(self, event=None, simple_blog_post=None, **post):
52 | #~ return request.website.render("website_event_image.simple_view", {'event': event, })
53 |
54 |
55 | class event(models.Model):
56 | _inherit = "event.event"
57 |
58 | image = fields.Binary(string="Image")
59 |
--------------------------------------------------------------------------------
/website_event_calendar/i18n/website_event_calendar.pot:
--------------------------------------------------------------------------------
1 | # Translation of Odoo Server.
2 | # This file contains the translation of the following modules:
3 | # * website_event_calendar
4 | #
5 | msgid ""
6 | msgstr ""
7 | "Project-Id-Version: Odoo Server 8.0-20170817\n"
8 | "Report-Msgid-Bugs-To: \n"
9 | "POT-Creation-Date: 2017-09-19 09:55+0000\n"
10 | "PO-Revision-Date: 2017-09-19 09:55+0000\n"
11 | "Last-Translator: <>\n"
12 | "Language-Team: \n"
13 | "MIME-Version: 1.0\n"
14 | "Content-Type: text/plain; charset=UTF-8\n"
15 | "Content-Transfer-Encoding: \n"
16 | "Plural-Forms: \n"
17 |
18 | #. module: website_event_calendar
19 | #. openerp-web
20 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:65
21 | #, python-format
22 | msgid "All day"
23 | msgstr ""
24 |
25 | #. module: website_event_calendar
26 | #: view:website:website_event.index
27 | msgid "Conference on Business Applications"
28 | msgstr ""
29 |
30 | #. module: website_event_calendar
31 | #. openerp-web
32 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:70
33 | #: view:website:website_event.index
34 | #, python-format
35 | msgid "Day"
36 | msgstr ""
37 |
38 | #. module: website_event_calendar
39 | #: view:website:website.snippets
40 | #: view:website:website_event.index
41 | msgid "Event Calendar"
42 | msgstr ""
43 |
44 | #. module: website_event_calendar
45 | #: view:website:website_event.index
46 | msgid "Fri"
47 | msgstr ""
48 |
49 | #. module: website_event_calendar
50 | #: view:website:website_event.index
51 | msgid "Functional Webinar"
52 | msgstr ""
53 |
54 | #. module: website_event_calendar
55 | #: view:website:website_event.index
56 | msgid "Mon"
57 | msgstr ""
58 |
59 | #. module: website_event_calendar
60 | #. openerp-web
61 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:68
62 | #: view:website:website_event.index
63 | #, python-format
64 | msgid "Month"
65 | msgstr ""
66 |
67 | #. module: website_event_calendar
68 | #: view:website:website_event.index
69 | msgid "Open Days in Los Angeles"
70 | msgstr ""
71 |
72 | #. module: website_event_calendar
73 | #: view:website:website_event.index
74 | msgid "Sat"
75 | msgstr ""
76 |
77 | #. module: website_event_calendar
78 | #: view:website:website_event.index
79 | msgid "September 2017"
80 | msgstr ""
81 |
82 | #. module: website_event_calendar
83 | #: view:website:website_event.index
84 | msgid "Sun"
85 | msgstr ""
86 |
87 | #. module: website_event_calendar
88 | #: view:website:website_event.index
89 | msgid "Thu"
90 | msgstr ""
91 |
92 | #. module: website_event_calendar
93 | #. openerp-web
94 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:67
95 | #: view:website:website_event.index
96 | #, python-format
97 | msgid "Today"
98 | msgstr ""
99 |
100 | #. module: website_event_calendar
101 | #: view:website:website_event.index
102 | msgid "Tue"
103 | msgstr ""
104 |
105 | #. module: website_event_calendar
106 | #: view:website:website_event.index
107 | msgid "Wed"
108 | msgstr ""
109 |
110 | #. module: website_event_calendar
111 | #. openerp-web
112 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:69
113 | #: view:website:website_event.index
114 | #, python-format
115 | msgid "Week"
116 | msgstr ""
117 |
118 |
--------------------------------------------------------------------------------
/website_event_category/i18n/website_event_calendar.pot:
--------------------------------------------------------------------------------
1 | # Translation of Odoo Server.
2 | # This file contains the translation of the following modules:
3 | # * website_event_calendar
4 | #
5 | msgid ""
6 | msgstr ""
7 | "Project-Id-Version: Odoo Server 8.0-20170817\n"
8 | "Report-Msgid-Bugs-To: \n"
9 | "POT-Creation-Date: 2017-09-19 09:55+0000\n"
10 | "PO-Revision-Date: 2017-09-19 09:55+0000\n"
11 | "Last-Translator: <>\n"
12 | "Language-Team: \n"
13 | "MIME-Version: 1.0\n"
14 | "Content-Type: text/plain; charset=UTF-8\n"
15 | "Content-Transfer-Encoding: \n"
16 | "Plural-Forms: \n"
17 |
18 | #. module: website_event_calendar
19 | #. openerp-web
20 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:65
21 | #, python-format
22 | msgid "All day"
23 | msgstr ""
24 |
25 | #. module: website_event_calendar
26 | #: view:website:website_event.index
27 | msgid "Conference on Business Applications"
28 | msgstr ""
29 |
30 | #. module: website_event_calendar
31 | #. openerp-web
32 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:70
33 | #: view:website:website_event.index
34 | #, python-format
35 | msgid "Day"
36 | msgstr ""
37 |
38 | #. module: website_event_calendar
39 | #: view:website:website.snippets
40 | #: view:website:website_event.index
41 | msgid "Event Calendar"
42 | msgstr ""
43 |
44 | #. module: website_event_calendar
45 | #: view:website:website_event.index
46 | msgid "Fri"
47 | msgstr ""
48 |
49 | #. module: website_event_calendar
50 | #: view:website:website_event.index
51 | msgid "Functional Webinar"
52 | msgstr ""
53 |
54 | #. module: website_event_calendar
55 | #: view:website:website_event.index
56 | msgid "Mon"
57 | msgstr ""
58 |
59 | #. module: website_event_calendar
60 | #. openerp-web
61 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:68
62 | #: view:website:website_event.index
63 | #, python-format
64 | msgid "Month"
65 | msgstr ""
66 |
67 | #. module: website_event_calendar
68 | #: view:website:website_event.index
69 | msgid "Open Days in Los Angeles"
70 | msgstr ""
71 |
72 | #. module: website_event_calendar
73 | #: view:website:website_event.index
74 | msgid "Sat"
75 | msgstr ""
76 |
77 | #. module: website_event_calendar
78 | #: view:website:website_event.index
79 | msgid "September 2017"
80 | msgstr ""
81 |
82 | #. module: website_event_calendar
83 | #: view:website:website_event.index
84 | msgid "Sun"
85 | msgstr ""
86 |
87 | #. module: website_event_calendar
88 | #: view:website:website_event.index
89 | msgid "Thu"
90 | msgstr ""
91 |
92 | #. module: website_event_calendar
93 | #. openerp-web
94 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:67
95 | #: view:website:website_event.index
96 | #, python-format
97 | msgid "Today"
98 | msgstr ""
99 |
100 | #. module: website_event_calendar
101 | #: view:website:website_event.index
102 | msgid "Tue"
103 | msgstr ""
104 |
105 | #. module: website_event_calendar
106 | #: view:website:website_event.index
107 | msgid "Wed"
108 | msgstr ""
109 |
110 | #. module: website_event_calendar
111 | #. openerp-web
112 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:69
113 | #: view:website:website_event.index
114 | #, python-format
115 | msgid "Week"
116 | msgstr ""
117 |
118 |
--------------------------------------------------------------------------------
/event_participant_labels/wizard/labels_wizard.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # OpenERP, Open Source Management Solution, third party addon
5 | # Copyright (C) 2004-2016 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | from openerp import models, fields, api, _
23 | import base64
24 | from openerp.exceptions import except_orm, Warning, RedirectWarning
25 | from openerp.modules import get_module_path
26 |
27 | import unicodecsv
28 | import os
29 | import tempfile
30 |
31 | import logging
32 | _logger = logging.getLogger(__name__)
33 |
34 | class event_labels_wizard(models.TransientModel):
35 | _name = 'event.labels.wizard'
36 | _description = 'Labels Wizard'
37 |
38 | data = fields.Binary('File')
39 | state = fields.Selection([('choose', 'choose'), ('get', 'get')],default="choose")
40 | name = fields.Char(default='label.pdf')
41 |
42 |
43 |
44 | @api.multi
45 | def print_labels(self,):
46 | label = self[0]
47 | #_logger.warning('data %s b64 %s ' % (account.data,base64.decodestring(account.data)))
48 |
49 | temp = tempfile.NamedTemporaryFile(mode='w+t',suffix='.csv')
50 | outfile = tempfile.NamedTemporaryFile(mode='w+b',suffix='.pdf')
51 | labelwriter = unicodecsv.writer(temp,delimiter=',',encoding='utf-8')
52 | for p in self.env['event.participant'].browse(self._context.get('active_ids', [])):
53 | labelwriter.writerow([p.partner_id.name,p.partner_id.parent_id.name])
54 | temp.seek(0)
55 | #~ temp.close()
56 | #~ raise Warning("glabels-3-batch -o %s -s 25 -c 21 -i %s %s" % (outfile.name,temp.name,os.path.join(get_module_path('event_participant_labels'), 'static', 'label.glabels')))
57 | res = os.system("glabels-3-batch -o %s -l -C -i %s %s" % (outfile.name,temp.name,os.path.join(get_module_path('event_participant_labels'), 'static', 'label.glabels')))
58 | outfile.seek(0)
59 | #temp.close()
60 | label.write({'state': 'get','data': base64.b64encode(outfile.read()) })
61 | #~ _logger.warn(res,temp.read(),temp.name,outfile.name,outfile.read())
62 | temp.close()
63 | outfile.close()
64 | return {
65 | 'type': 'ir.actions.act_window',
66 | 'res_model': 'event.labels.wizard',
67 | 'view_mode': 'form',
68 | 'view_type': 'form',
69 | 'res_id': label.id,
70 | 'views': [(False, 'form')],
71 | 'target': 'new',
72 | }
73 |
74 |
--------------------------------------------------------------------------------
/website_event_participant/i18n/website_event_calendar.pot:
--------------------------------------------------------------------------------
1 | # Translation of Odoo Server.
2 | # This file contains the translation of the following modules:
3 | # * website_event_calendar
4 | #
5 | msgid ""
6 | msgstr ""
7 | "Project-Id-Version: Odoo Server 8.0-20170817\n"
8 | "Report-Msgid-Bugs-To: \n"
9 | "POT-Creation-Date: 2017-09-19 09:55+0000\n"
10 | "PO-Revision-Date: 2017-09-19 09:55+0000\n"
11 | "Last-Translator: <>\n"
12 | "Language-Team: \n"
13 | "MIME-Version: 1.0\n"
14 | "Content-Type: text/plain; charset=UTF-8\n"
15 | "Content-Transfer-Encoding: \n"
16 | "Plural-Forms: \n"
17 |
18 | #. module: website_event_calendar
19 | #. openerp-web
20 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:65
21 | #, python-format
22 | msgid "All day"
23 | msgstr ""
24 |
25 | #. module: website_event_calendar
26 | #: view:website:website_event.index
27 | msgid "Conference on Business Applications"
28 | msgstr ""
29 |
30 | #. module: website_event_calendar
31 | #. openerp-web
32 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:70
33 | #: view:website:website_event.index
34 | #, python-format
35 | msgid "Day"
36 | msgstr ""
37 |
38 | #. module: website_event_calendar
39 | #: view:website:website.snippets
40 | #: view:website:website_event.index
41 | msgid "Event Calendar"
42 | msgstr ""
43 |
44 | #. module: website_event_calendar
45 | #: view:website:website_event.index
46 | msgid "Fri"
47 | msgstr ""
48 |
49 | #. module: website_event_calendar
50 | #: view:website:website_event.index
51 | msgid "Functional Webinar"
52 | msgstr ""
53 |
54 | #. module: website_event_calendar
55 | #: view:website:website_event.index
56 | msgid "Mon"
57 | msgstr ""
58 |
59 | #. module: website_event_calendar
60 | #. openerp-web
61 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:68
62 | #: view:website:website_event.index
63 | #, python-format
64 | msgid "Month"
65 | msgstr ""
66 |
67 | #. module: website_event_calendar
68 | #: view:website:website_event.index
69 | msgid "Open Days in Los Angeles"
70 | msgstr ""
71 |
72 | #. module: website_event_calendar
73 | #: view:website:website_event.index
74 | msgid "Sat"
75 | msgstr ""
76 |
77 | #. module: website_event_calendar
78 | #: view:website:website_event.index
79 | msgid "September 2017"
80 | msgstr ""
81 |
82 | #. module: website_event_calendar
83 | #: view:website:website_event.index
84 | msgid "Sun"
85 | msgstr ""
86 |
87 | #. module: website_event_calendar
88 | #: view:website:website_event.index
89 | msgid "Thu"
90 | msgstr ""
91 |
92 | #. module: website_event_calendar
93 | #. openerp-web
94 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:67
95 | #: view:website:website_event.index
96 | #, python-format
97 | msgid "Today"
98 | msgstr ""
99 |
100 | #. module: website_event_calendar
101 | #: view:website:website_event.index
102 | msgid "Tue"
103 | msgstr ""
104 |
105 | #. module: website_event_calendar
106 | #: view:website:website_event.index
107 | msgid "Wed"
108 | msgstr ""
109 |
110 | #. module: website_event_calendar
111 | #. openerp-web
112 | #: code:addons/website_event_calendar/static/src/js/website_event_calendar.js:69
113 | #: view:website:website_event.index
114 | #, python-format
115 | msgid "Week"
116 | msgstr ""
117 |
118 |
--------------------------------------------------------------------------------
/website_event_calendar/website_event_calendar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
80 |
81 |
82 |
83 |
84 |
85 |
--------------------------------------------------------------------------------
/website_event_calendar/controllers/main.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Odoo, Open Source Enterprise Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | import json
23 | import datetime
24 |
25 | from openerp.addons.web import http
26 | from openerp.addons.web.http import request
27 |
28 | class WebsiteEventCalendar(http.Controller):
29 |
30 | #TODO: Is implemented by Odoo?
31 | @http.route(['/event_calendar/get_events//'], type='http', auth='public', website=True)
32 | def get_events(self, start, end, **post):
33 | cr, uid, context = request.cr, request.uid, request.context
34 |
35 | #Get events
36 | calendar_event_obj = request.registry['calendar.event']
37 | calendar_event_ids = calendar_event_obj.search(cr, uid, [('start', '<', unicode(datetime.datetime.fromtimestamp(end))), ('stop', '>', unicode(datetime.datetime.fromtimestamp(start)))], context=context)
38 | calendar_events = calendar_event_obj.browse(cr, uid, calendar_event_ids, context = context)
39 |
40 | contacts = []
41 | if request.website.user_id.id != uid:
42 | calendar_contact_obj = request.registry['calendar.contacts']
43 | calendar_contact_ids = calendar_contact_obj.search(cr, uid, [('user_id', '=', uid)], context=context)
44 | calendar_contacts = calendar_contact_obj.browse(cr, uid, calendar_contact_ids, context = context)
45 |
46 | #Create response (Cannot serialize object)
47 | contacts.append(request.env.user.partner_id.id)
48 | for contact in calendar_contacts:
49 | contacts.append(contact.partner_id.id)
50 |
51 | #Events
52 | events = []
53 | #~ for event in request.env['event.event'].search( [('state','in',['cancel','confirm']),('date_begin', '<', unicode(datetime.datetime.fromtimestamp(end))), ('date_end', '>', unicode(datetime.datetime.fromtimestamp(start)))]):
54 | for event in request.env['event.event'].search( [('state','in',['cancel','confirm'])]):
55 | #Fetch attendees
56 | attandees = []
57 | #~ for attandee_id in calendar_event.attendee_ids:
58 | #~ attandees.append({ 'id': attandee_id.partner_id.id, 'name': attandee_id.partner_id.name })
59 |
60 | events.append({
61 | 'id': event.id,
62 | 'start': event.date_begin,
63 | 'end': event.date_end,
64 | 'title': event.name,
65 | 'description': event.description,
66 | 'type': event.type.name,
67 | #'allDay': event.allday,
68 | #'color': event.color_partner_id,
69 | 'attendees': attandees,
70 | 'url': '/event/%s' % event.id,
71 | 'seats_available': event.seats_max - event.seats_used,
72 | 'state': event.state,
73 | })
74 |
75 | return json.dumps({ 'events': events, 'contacts': contacts })
76 |
--------------------------------------------------------------------------------
/website_event_calendar/static/src/css/website_event_calendar.css:
--------------------------------------------------------------------------------
1 | .attendee_head {
2 | float: right;
3 | margin-left: 1px;
4 | height: 23px;
5 | width: 23px;
6 | }
7 |
8 | /* Colors */
9 | .calendar .event_color_1 {
10 | background-color: #a4bdfc;
11 | color: #0d0d0d; }
12 | .calendar .event_color_2 {
13 | background-color: #7ae7bf;
14 | color: #0d0d0d; }
15 | .calendar .event_color_3 {
16 | background-color: #dbadff;
17 | color: #0d0d0d; }
18 | .calendar .event_color_4 {
19 | background-color: #ff887c;
20 | color: #0d0d0d; }
21 | .calendar .event_color_5 {
22 | background-color: #fbd75b;
23 | color: #0d0d0d; }
24 | .calendar .event_color_6 {
25 | background-color: #ffb878;
26 | color: #0d0d0d; }
27 | .calendar .event_color_7 {
28 | background-color: #46d6db;
29 | color: #0d0d0d; }
30 | .calendar .event_color_8 {
31 | background-color: #e1e1e1;
32 | color: #0d0d0d; }
33 | .calendar .event_color_9 {
34 | background-color: #5484ed;
35 | color: #0d0d0d; }
36 | .calendar .event_color_10 {
37 | background-color: #51b749;
38 | color: #0d0d0d; }
39 | .calendar .event_color_11 {
40 | background-color: #dc2127;
41 | color: #0d0d0d; }
42 | .calendar .calendar_color_1 {
43 | border-color: #ac725e;
44 | background-color: #ac725e;
45 | color: #0d0d0d; }
46 | .calendar .calendar_color_2 {
47 | border-color: #d06b64;
48 | background-color: #d06b64;
49 | color: #0d0d0d; }
50 | .calendar .calendar_color_3 {
51 | border-color: #f83a22;
52 | background-color: #f83a22;
53 | color: #0d0d0d; }
54 | .calendar .calendar_color_4 {
55 | border-color: #fa573c;
56 | background-color: #fa573c;
57 | color: #0d0d0d; }
58 | .calendar .calendar_color_5 {
59 | border-color: #ff7537;
60 | background-color: #ff7537;
61 | color: #0d0d0d; }
62 | .calendar .calendar_color_6 {
63 | border-color: #ffad46;
64 | background-color: #ffad46;
65 | color: #0d0d0d; }
66 | .calendar .calendar_color_7 {
67 | border-color: #42d692;
68 | background-color: #42d692;
69 | color: #0d0d0d; }
70 | .calendar .calendar_color_8 {
71 | border-color: #16a765;
72 | background-color: #16a765;
73 | color: #0d0d0d; }
74 | .calendar .calendar_color_9 {
75 | border-color: #7bd148;
76 | background-color: #7bd148;
77 | color: #0d0d0d; }
78 | .calendar .calendar_color_10 {
79 | border-color: #b3dc6c;
80 | background-color: #b3dc6c;
81 | color: #0d0d0d; }
82 | .calendar .calendar_color_11 {
83 | border-color: #fbe983;
84 | background-color: #fbe983;
85 | color: #0d0d0d; }
86 | .calendar .calendar_color_12 {
87 | border-color: #fad165;
88 | background-color: #fad165;
89 | color: #0d0d0d; }
90 | .calendar .calendar_color_13 {
91 | border-color: #92e1c0;
92 | background-color: #92e1c0;
93 | color: #0d0d0d; }
94 | .calendar .calendar_color_14 {
95 | border-color: #9fe1e7;
96 | background-color: #9fe1e7;
97 | color: #0d0d0d; }
98 | .calendar .calendar_color_15 {
99 | border-color: #9fc6e7;
100 | background-color: #9fc6e7;
101 | color: #0d0d0d; }
102 | .calendar .calendar_color_16 {
103 | border-color: #4986e7;
104 | background-color: #4986e7;
105 | color: #0d0d0d; }
106 | .calendar .calendar_color_17 {
107 | border-color: #9a9cff;
108 | background-color: #9a9cff;
109 | color: #0d0d0d; }
110 | .calendar .calendar_color_18 {
111 | border-color: #b99aff;
112 | background-color: #b99aff;
113 | color: #0d0d0d; }
114 | .calendar .calendar_color_19 {
115 | border-color: #c2c2c2;
116 | background-color: #c2c2c2;
117 | color: #0d0d0d; }
118 | .calendar .calendar_color_20 {
119 | border-color: #cabdbf;
120 | background-color: #cabdbf;
121 | color: #0d0d0d; }
122 | .calendar .calendar_color_21 {
123 | border-color: #cca6ac;
124 | background-color: #cca6ac;
125 | color: #0d0d0d; }
126 | .calendar .calendar_color_22 {
127 | border-color: #f691b2;
128 | background-color: #f691b2;
129 | color: #0d0d0d; }
130 | .calendar .calendar_color_23 {
131 | border-color: #cd74e6;
132 | background-color: #cd74e6;
133 | color: #0d0d0d; }
134 | .calendar .calendar_color_24 {
135 | border-color: #a47ae2;
136 | background-color: #a47ae2;
137 | color: #0d0d0d; }
--------------------------------------------------------------------------------
/website_event_category/controllers/main.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Odoo, Open Source Enterprise Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | import json
23 | import datetime
24 |
25 | from openerp.addons.web import http
26 | from openerp.addons.web.http import request
27 |
28 | class WebsiteEventCalendar(http.Controller):
29 |
30 | #TODO: Is implemented by Odoo?
31 | @http.route(['/event_calendar/get_events//'], type='http', auth='public', website=True)
32 | def get_events(self, start, end, **post):
33 | cr, uid, context = request.cr, request.uid, request.context
34 |
35 | #Get events
36 | calendar_event_obj = request.registry['calendar.event']
37 | calendar_event_ids = calendar_event_obj.search(cr, uid, [('start', '<', unicode(datetime.datetime.fromtimestamp(end))), ('stop', '>', unicode(datetime.datetime.fromtimestamp(start)))], context=context)
38 | calendar_events = calendar_event_obj.browse(cr, uid, calendar_event_ids, context = context)
39 |
40 | contacts = []
41 | if request.website.user_id.id != uid:
42 | calendar_contact_obj = request.registry['calendar.contacts']
43 | calendar_contact_ids = calendar_contact_obj.search(cr, uid, [('user_id', '=', uid)], context=context)
44 | calendar_contacts = calendar_contact_obj.browse(cr, uid, calendar_contact_ids, context = context)
45 |
46 | #Create response (Cannot serialize object)
47 | contacts.append(request.env.user.partner_id.id)
48 | for contact in calendar_contacts:
49 | contacts.append(contact.partner_id.id)
50 |
51 | #Events
52 | events = []
53 | #~ for event in request.env['event.event'].search( [('state','in',['cancel','confirm']),('date_begin', '<', unicode(datetime.datetime.fromtimestamp(end))), ('date_end', '>', unicode(datetime.datetime.fromtimestamp(start)))]):
54 | for event in request.env['event.event'].search( [('state','in',['cancel','confirm'])]):
55 | #Fetch attendees
56 | attandees = []
57 | #~ for attandee_id in calendar_event.attendee_ids:
58 | #~ attandees.append({ 'id': attandee_id.partner_id.id, 'name': attandee_id.partner_id.name })
59 |
60 | events.append({
61 | 'id': event.id,
62 | 'start': event.date_begin,
63 | 'end': event.date_end,
64 | 'title': event.name,
65 | 'description': event.description,
66 | 'type': event.type.name,
67 | #'allDay': event.allday,
68 | #'color': event.color_partner_id,
69 | 'attendees': attandees,
70 | 'url': '/event/%s' % event.id,
71 | 'seats_available': event.seats_max - event.seats_used,
72 | 'state': event.state,
73 | })
74 |
75 | return json.dumps({ 'events': events, 'contacts': contacts })
76 |
77 |
78 | @http.route([
79 | '/event//type',
80 | ], type='http', auth="user", website=True)
81 | def event_type(self, type=None, **post):
82 | return request.website.render("website_event_category.type_editor", {'type': type})
83 |
--------------------------------------------------------------------------------
/website_event_participant/event.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | ##############################################################################
3 | #
4 | # Odoo, Open Source Enterprise Management Solution, third party addon
5 | # Copyright (C) 2004-2017 Vertel AB ().
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 .
19 | #
20 | ##############################################################################
21 |
22 | from openerp import models, fields, api, _
23 | from datetime import datetime, timedelta
24 | from dateutil import relativedelta
25 | from openerp import http
26 | from openerp.http import request
27 |
28 | import logging
29 | _logger = logging.getLogger(__name__)
30 |
31 |
32 | class sale_order_line_participant(models.Model):
33 | _name = 'sale.order.line.participant'
34 |
35 | name = fields.Char(string='Name')
36 | partner_id = fields.Many2one(comodel_name='res.partner', string='Partner')
37 | comment = fields.Text(string='Comment')
38 | sale_order_line_id = fields.Many2one(comodel_name='sale.order.line', string='Sale Order Line')
39 |
40 |
41 | class sale_order_line(models.Model):
42 | _inherit = 'sale.order.line'
43 |
44 | participant_ids = fields.One2many(comodel_name='sale.order.line.participant', inverse_name='sale_order_line_id', string='Participants')
45 |
46 | @api.multi
47 | def button_confirm(self):
48 | res = super(sale_order_line, self).button_confirm()
49 | for order_line in self:
50 | registration = self.env['event.registration'].search([('event_ticket_id', '=', order_line.event_ticket_id.id), ('partner_id', '=', order_line.order_id.partner_id.id)], order='create_date desc', limit=1)
51 | # copy info from sale.order.line.participant to event.participant
52 | for participant in order_line.participant_ids:
53 | partner = participant.partner_id
54 | if not partner:
55 | partner = self.env['res.partner'].create({
56 | 'name': participant.name,
57 | })
58 | participant.partner_id = partner.id
59 | self.env['event.participant'].create({
60 | 'registration_id': registration.id,
61 | 'partner_id': partner.id,
62 | 'note': participant.comment,
63 | 'state': 'draft',
64 | })
65 | return res
66 |
67 | #~ @api.v7
68 | #~ def button_confirm(self, cr, uid, ids, context=None):
69 | #~ res = super(sale_order_line, self).button_confirm(cr, uid, ids, context=context)
70 | #~ env = Environment(cr, uid, context)
71 | #~ for order_line in env['sale.order.line'].browse(ids):
72 | #~ registration = env['event.registration'].search([('event_ticket_id', '=', order_line.event_ticket_id.id), ('partner_id', '=', order_line.order_id.partner_id.id)], order='create_date desc', limit=1)
73 | #~ # copy info from sale.order.line.participant to event.participant
74 | #~ for participant in order_line.participant_ids:
75 | #~ partner = participant.partner_id
76 | #~ if not partner:
77 | #~ partner = env['res.partner'].create({
78 | #~ 'name': participant.name,
79 | #~ })
80 | #~ participant.partner_id = partner.id
81 | #~ env['event.participant'].create({
82 | #~ 'registration_id': registration.id,
83 | #~ 'partner_id': partner.id,
84 | #~ 'note': participant.comment,
85 | #~ 'state': 'draft',
86 | #~ })
87 | #~ return res
88 |
89 |
--------------------------------------------------------------------------------
/event_invoice_release/static/description/invoice.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
74 |
--------------------------------------------------------------------------------
/event_invoice_release/static/description/index.html~:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Professional high quality print process with Scribus
4 |
From any type of object, create nifty reports
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | This is a new report type for Odoo, the module is an extention
13 | that gives print designers a complement
14 | to other report types when they creates a new report. But its easy
15 | even for non programmers to create reports using the separate GUI-client.
16 |
17 |
18 |
19 | Scribus is a page layout program that supports professional publishing features,
20 | such as CMYK colors, spot colors, ICC color management and versatile PDF creation.
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
Create Press-ready PDF
30 |
31 |
32 | Scribus reliably exports high quality, "press-ready" PDF including advanced PDF 1.5 features, ISO compliant PDF/X-3 and ICC color managed PDFs.
33 | This module uses the Scribus-sla-file as a template. The Scribus-file incorporate settings for the PDF-generation as long with the design. If you
34 | need Crops or Bleed marks, you choose this when you create your template.
35 |
36 |
PDF 1.4 and PDF 1.5 handle transparency.
37 |
PDF/X-1a specifies that all colors are CMYK or spot colors.
38 |
PDF/X-3 tags all images with the right ICC profile and leaves the CMYK conversion to the RIP (Raster Images Processor) at the print office.
39 |
PDF/X-1a and PDF/X-3 are based on PDF 1.3 which does not handle transparency.
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
Design pages using special notation
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 | This module uses email_template rendering notation; ${object.name} for including attributes from the database.
64 | You can add Python style code, for example ${object.email or ''}. Use email attribute from object or, if there is
65 | nothing in email print an empty string.
66 | When the template is ready you can
67 | upload it to the report-record (or include it in the xml-record if
68 | you are building a module). There is a test report action that
69 | also lists all fields for the choosen model. The report type "Scribus PDF" outputs PDF-file and "Scribus SLA" outputs
70 | the rendered SLA-file. When using SLA output you can work with the ready Scribus-file before PDF-generation or printing. SLA-files contains only one instance of printed object.
71 |
Professional high quality print process with Scribus
4 |
From any type of object, create nifty reports
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | This is a new report type for Odoo, the module is an extention
13 | that gives print designers a complement
14 | to other report types when they creates a new report. But its easy
15 | even for non programmers to create reports using the separate GUI-client.
16 |
17 |
18 |
19 | Scribus is a page layout program that supports professional publishing features,
20 | such as CMYK colors, spot colors, ICC color management and versatile PDF creation.
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
Create Press-ready PDF
30 |
31 |
32 | Scribus reliably exports high quality, "press-ready" PDF including advanced PDF 1.5 features, ISO compliant PDF/X-3 and ICC color managed PDFs.
33 | This module uses the Scribus-sla-file as a template. The Scribus-file incorporate settings for the PDF-generation as long with the design. If you
34 | need Crops or Bleed marks, you choose this when you create your template.
35 |
36 |
PDF 1.4 and PDF 1.5 handle transparency.
37 |
PDF/X-1a specifies that all colors are CMYK or spot colors.
38 |
PDF/X-3 tags all images with the right ICC profile and leaves the CMYK conversion to the RIP (Raster Images Processor) at the print office.
39 |
PDF/X-1a and PDF/X-3 are based on PDF 1.3 which does not handle transparency.
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
Design pages using special notation
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 | This module uses email_template rendering notation; ${object.name} for including attributes from the database.
64 | You can add Python style code, for example ${object.email or ''}. Use email attribute from object or, if there is
65 | nothing in email print an empty string.
66 | When the template is ready you can
67 | upload it to the report-record (or include it in the xml-record if
68 | you are building a module). There is a test report action that
69 | also lists all fields for the choosen model. The report type "Scribus PDF" outputs PDF-file and "Scribus SLA" outputs
70 | the rendered SLA-file. When using SLA output you can work with the ready Scribus-file before PDF-generation or printing. SLA-files contains only one instance of printed object.
71 |
90 | This module needs Scribus-ng to be installed on the server (for Ubuntu:
91 | sudo add-apt-repository ppa:scribus/ppa
92 | sudo apt install scribus-ng)
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
--------------------------------------------------------------------------------
/website_event_calendar/static/src/js/website.tour.event.js:
--------------------------------------------------------------------------------
1 | (function () {
2 | 'use strict';
3 |
4 | var _t = openerp._t;
5 | var website = openerp.website;
6 | website.ready().done(function() {
7 | openerp.Tour.register({
8 | id: 'event',
9 | name: _t("Create an event"),
10 | steps: [
11 | {
12 | title: _t("Create an Event"),
13 | content: _t("Let's go through the first steps to publish a new event."),
14 | popover: { next: _t("Start Tutorial"), end: _t("Skip It") },
15 | },
16 | {
17 | element: '#content-menu-button',
18 | placement: 'left',
19 | title: _t("Add Content"),
20 | content: _t("The Content menu allows you to create new pages, events, menus, etc."),
21 | popover: { fixed: true },
22 | },
23 | {
24 | element: 'a[data-action=new_event]',
25 | placement: 'left',
26 | title: _t("New Event"),
27 | content: _t("Click here to create a new event."),
28 | popover: { fixed: true },
29 | },
30 | {
31 | element: '.modal #editor_new_event input[type=text]',
32 | sampleText: 'Advanced Technical Training',
33 | placement: 'right',
34 | title: _t("Create an Event Name"),
35 | content: _t("Create a name for your new event and click 'Continue'. e.g: Technical Training"),
36 | },
37 | {
38 | waitNot: '.modal input[type=text]:not([value!=""])',
39 | element: '.modal button.btn-primary',
40 | placement: 'right',
41 | title: _t("Create Event"),
42 | content: _t("Click Continue to create the event."),
43 | },
44 | {
45 | waitFor: 'body:has(button[data-action=save]:visible):has(.js_event)',
46 | title: _t("New Event Created"),
47 | content: _t("This is your new event page. We will edit the event presentation page."),
48 | popover: { next: _t("Continue") },
49 | },
50 | {
51 | element: 'button[data-action=snippet]',
52 | placement: 'bottom',
53 | title: _t("Layout your event"),
54 | content: _t("Insert blocks to layout the body of your event."),
55 | popover: { fixed: true },
56 | },
57 | {
58 | snippet: '#snippet_structure .oe_snippet:eq(2)',
59 | placement: 'bottom',
60 | title: _t("Drag & Drop a block"),
61 | content: _t("Drag the 'Image-Text' block and drop it in your page."),
62 | popover: { fixed: true },
63 | },
64 | {
65 |
66 | element: 'button[data-action=snippet]',
67 | placement: 'bottom',
68 | title: _t("Layout your event"),
69 | content: _t("Insert another block to your event."),
70 | popover: { fixed: true },
71 | },
72 | {
73 | snippet: '#snippet_structure .oe_snippet:eq(4)',
74 | placement: 'bottom',
75 | title: _t("Drag & Drop a block"),
76 | content: _t("Drag the 'Text Block' in your event page."),
77 | popover: { fixed: true },
78 | },
79 | {
80 | element: 'button[data-action=save]',
81 | placement: 'right',
82 | title: _t("Save your modifications"),
83 | content: _t("Once you click on save, your event is updated."),
84 | popover: { fixed: true },
85 | },
86 | {
87 | waitFor: 'button[data-action=edit]:visible',
88 | element: 'button.btn-danger.js_publish_btn',
89 | placement: 'top',
90 | title: _t("Publish your event"),
91 | content: _t("Click to publish your event."),
92 | },
93 | {
94 | waitFor: '.js_publish_management button.js_publish_btn.btn-success:visible',
95 | element: '.js_publish_management button[data-toggle="dropdown"]',
96 | placement: 'left',
97 | title: _t("Customize your event"),
98 | content: _t("Click here to customize your event further."),
99 | },
100 | {
101 | element: '.js_publish_management ul>li>a:last:visible',
102 | },
103 | ]
104 | });
105 | });
106 |
107 | }());
108 |
--------------------------------------------------------------------------------
/website_event_category/static/src/js/website.tour.event.js:
--------------------------------------------------------------------------------
1 | (function () {
2 | 'use strict';
3 |
4 | var _t = openerp._t;
5 | var website = openerp.website;
6 | website.ready().done(function() {
7 | openerp.Tour.register({
8 | id: 'event',
9 | name: _t("Create an event"),
10 | steps: [
11 | {
12 | title: _t("Create an Event"),
13 | content: _t("Let's go through the first steps to publish a new event."),
14 | popover: { next: _t("Start Tutorial"), end: _t("Skip It") },
15 | },
16 | {
17 | element: '#content-menu-button',
18 | placement: 'left',
19 | title: _t("Add Content"),
20 | content: _t("The Content menu allows you to create new pages, events, menus, etc."),
21 | popover: { fixed: true },
22 | },
23 | {
24 | element: 'a[data-action=new_event]',
25 | placement: 'left',
26 | title: _t("New Event"),
27 | content: _t("Click here to create a new event."),
28 | popover: { fixed: true },
29 | },
30 | {
31 | element: '.modal #editor_new_event input[type=text]',
32 | sampleText: 'Advanced Technical Training',
33 | placement: 'right',
34 | title: _t("Create an Event Name"),
35 | content: _t("Create a name for your new event and click 'Continue'. e.g: Technical Training"),
36 | },
37 | {
38 | waitNot: '.modal input[type=text]:not([value!=""])',
39 | element: '.modal button.btn-primary',
40 | placement: 'right',
41 | title: _t("Create Event"),
42 | content: _t("Click Continue to create the event."),
43 | },
44 | {
45 | waitFor: 'body:has(button[data-action=save]:visible):has(.js_event)',
46 | title: _t("New Event Created"),
47 | content: _t("This is your new event page. We will edit the event presentation page."),
48 | popover: { next: _t("Continue") },
49 | },
50 | {
51 | element: 'button[data-action=snippet]',
52 | placement: 'bottom',
53 | title: _t("Layout your event"),
54 | content: _t("Insert blocks to layout the body of your event."),
55 | popover: { fixed: true },
56 | },
57 | {
58 | snippet: '#snippet_structure .oe_snippet:eq(2)',
59 | placement: 'bottom',
60 | title: _t("Drag & Drop a block"),
61 | content: _t("Drag the 'Image-Text' block and drop it in your page."),
62 | popover: { fixed: true },
63 | },
64 | {
65 |
66 | element: 'button[data-action=snippet]',
67 | placement: 'bottom',
68 | title: _t("Layout your event"),
69 | content: _t("Insert another block to your event."),
70 | popover: { fixed: true },
71 | },
72 | {
73 | snippet: '#snippet_structure .oe_snippet:eq(4)',
74 | placement: 'bottom',
75 | title: _t("Drag & Drop a block"),
76 | content: _t("Drag the 'Text Block' in your event page."),
77 | popover: { fixed: true },
78 | },
79 | {
80 | element: 'button[data-action=save]',
81 | placement: 'right',
82 | title: _t("Save your modifications"),
83 | content: _t("Once you click on save, your event is updated."),
84 | popover: { fixed: true },
85 | },
86 | {
87 | waitFor: 'button[data-action=edit]:visible',
88 | element: 'button.btn-danger.js_publish_btn',
89 | placement: 'top',
90 | title: _t("Publish your event"),
91 | content: _t("Click to publish your event."),
92 | },
93 | {
94 | waitFor: '.js_publish_management button.js_publish_btn.btn-success:visible',
95 | element: '.js_publish_management button[data-toggle="dropdown"]',
96 | placement: 'left',
97 | title: _t("Customize your event"),
98 | content: _t("Click here to customize your event further."),
99 | },
100 | {
101 | element: '.js_publish_management ul>li>a:last:visible',
102 | },
103 | ]
104 | });
105 | });
106 |
107 | }());
108 |
--------------------------------------------------------------------------------
/event_participant/static/description/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Participants administration for event
4 |
Adds participants for event registration
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | This module is a extention of event and adds participants administraion to Odoo standard Events. The module
13 | makes a connection between event and partner (participant) using the registration. The standard behaivor for Event is
14 | that each registration can be made by a administator of the customer on behaf for several attendees.
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | With this
26 | module it is possible to add individual participants on each registration. This means that each event has a
27 | list of participants who attend to it. Keeping track of individuals makes it possible to create attendants lists, to
28 | register what cources and what level of education an individual has attended to and achieved.
29 | Each event registration has a list of participants who are belong to the company which has registrated
30 | to the event. You can print participant lists for cource leader and lists to hand out to attendees.
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 | When the event is ended, system will give each participant a tag that shows which
54 | event he / she has attended. The tags is named from the event type.
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
Sister modules
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 | With the module event_participant_diploma, diplomas can be printed for each participant. The template for the
73 | diploma are made in the publishing system Scribus that gives you high quality originals for printing.
74 |
75 |
76 | With the module event_participant_labels, you can print name tags for the participants to hand out. You can use almost any type
77 | of name tags sold in office stores. The template for the name tag are made in the program Glabels and its easy to change brand
78 | of sheet labels and configure the information you want to be printed on the tag.
79 |
80 |
81 | The modules event_participant_labels and event_participant_diploma depends on the modules report_glabels and
82 | report_scribus.
83 |