diff --git a/website_portal_events/README.rst b/website_portal_events/README.rst new file mode 100755 index 000000000..51636bcb9 --- /dev/null +++ b/website_portal_events/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Website Portal Events +================ +This module helps to show event tickets in the portal in odoo16. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developer: (V16): Sruthi MK@cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ \ No newline at end of file diff --git a/website_portal_events/__init__.py b/website_portal_events/__init__.py new file mode 100644 index 000000000..08a76eacf --- /dev/null +++ b/website_portal_events/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sruthi MK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import controllers diff --git a/website_portal_events/__manifest__.py b/website_portal_events/__manifest__.py new file mode 100644 index 000000000..240e0c73c --- /dev/null +++ b/website_portal_events/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sruthi MK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +{ + 'name': 'Website Portal Events', + 'version': '16.0.1.0.0', + 'category': 'Website', + 'summary': 'Show event tickets in customer portal', + 'description': """Which will helps to show all events in the customer + portal. Also there is an option to search, filter, + sort the events to get it easily and we can download + the events""", + 'author': 'Cybrosys Techno solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['website_event', 'portal'], + 'data': [ + 'views/event_portal_templates.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/website_portal_events/controllers/__init__.py b/website_portal_events/controllers/__init__.py new file mode 100644 index 000000000..df6636cfa --- /dev/null +++ b/website_portal_events/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sruthi MK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import website_portal_events diff --git a/website_portal_events/controllers/website_portal_events.py b/website_portal_events/controllers/website_portal_events.py new file mode 100644 index 000000000..3241c1fa7 --- /dev/null +++ b/website_portal_events/controllers/website_portal_events.py @@ -0,0 +1,284 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Sruthi MK (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from collections import OrderedDict +from datetime import date, timedelta +from odoo import fields, http, _ +from odoo.http import request +from odoo.exceptions import AccessError, MissingError +from odoo.osv import expression +from odoo.osv.expression import OR, AND +from odoo.addons.portal.controllers.portal import CustomerPortal, \ + pager as portal_pager + + +class PortalEvent(CustomerPortal): + """PortalEvent helps to show the information of all events in the + customer portal""" + + def _prepare_home_portal_values(self, counters): + """Which will set all portal values. And return total events count""" + values = super()._prepare_home_portal_values(counters) + if 'event_count' in counters: + event_count = request.env['event.registration'].search_count( + self._get_events_domain()) \ + if request.env['event.registration'].check_access_rights('read', + raise_exception=False) else 0 + values['event_count'] = event_count + return values + + def _get_events_domain(self): + """Returns the events that are in stage 'cancel' and 'draft'""" + return [('state', 'not in', ('cancel', 'draft'))] + + @http.route(['/my/events', '/my/events/page/'], type='http', + auth="user", website=True) + def portal_my_events(self, page=1, date_begin=None, date_end=None, + sortby=None, filterby=None, search=None, + search_in='content', **kw): + """Returns the corresponding event datas and pager information. + Which will render a newtemplate to show the events""" + values = self._prepare_my_event_values(page, date_begin, date_end, + sortby, filterby, + search, search_in) + # Pager + pager = portal_pager(**values['pager']) + # Content according to pager and archive selected + events = values['events'](pager['offset']) + request.session['my_events_history'] = events.ids[:100] + values.update({ + 'events': events, + 'pager': pager, + }) + return request.render("website_portal_events.portal_my_events", values) + + @http.route(['/my/event_data/'], + type='http', auth="public", + website=True) + def portal_my_helpdesk(self, event=None, access_token=None, **kw): + """Helps to show the portal event datas. Which will redirected + to the portal form""" + try: + event_sudo = self._document_check_access('event.registration', + event, + access_token) + except (AccessError, MissingError): + return request.redirect('/my') + values = self._get_event_page_view_values(event_sudo, access_token, + **kw) + return request.render("website_portal_events.event_portal_form", + values) + + @http.route(['/download/event_data/'], + type='http', auth="public", + website=True) + def portal_my_event_download(self, event=None, access_token=None, **kw): + """Helps to download event ticket from the portal""" + if event: + pdf, _ = request.env['ir.actions.report'].sudo()._render_qweb_pdf( + 'event.action_report_event_registration_full_page_ticket', + [event]) + pdfhttpheaders = [('Content-Type', 'application/pdf'), + ('Content-Length', str(len(pdf))), + ('Content-Disposition', + 'attachment; filename=report.pdf')] + response = request.make_response(pdf, headers=pdfhttpheaders) + response.mimetype = 'application/pdf' + return response + else: + return request.redirect('/my/event_data') + + def _get_event_page_view_values(self, event, access_token, **kwargs): + """Get the page view values""" + values = { + 'event': event, + 'page_name': 'event', + } + return self._get_page_view_values(event, access_token, values, + 'my_events_history', False, **kwargs) + + def _get_event_searchbar_sortings(self): + """Sort the events based on the date and name""" + return { + 'date': {'label': _('Date'), 'order': 'create_date desc'}, + 'name': {'label': _('Name'), 'order': 'name asc'}, + } + + def _get_event_searchbar_filters(self): + """Filter the events by All, Last month, This Month, Last Week, + This Week, Last Year, This Year, Today and This Quarter""" + # today = date.today() + today = fields.Date.today() + this_month_start = today.replace(day=1) + this_quarter_start = today.replace(day=1, month=(( + today.month - 1) // 3) * 3 + 1) + this_week_start = today - timedelta(days=today.weekday()) + this_year_start = today.replace(month=1, day=1) + return { + 'all': {'label': _('All'), 'domain': []}, + 'last_month': { + 'label': _('Last Month'), + 'domain': [('create_date', '>=', + (this_month_start - timedelta(days=30)).strftime( + '%Y-%m-%d')), + ('create_date', '<=', + (this_month_start - timedelta(days=1)).strftime( + '%Y-%m-%d'))] + }, + 'this_month': { + 'label': _('This Month'), + 'domain': [ + ( + 'create_date', '>=', + this_month_start.strftime('%Y-%m-%d')), + ('create_date', '<=', today.strftime('%Y-%m-%d'))] + }, + 'last_week': { + 'label': _('Last Week'), + 'domain': [('create_date', '>=', + (this_week_start - timedelta(days=7)).strftime( + '%Y-%m-%d')), + ('create_date', '<=', + (this_week_start - timedelta(days=1)).strftime( + '%Y-%m-%d'))] + }, + 'this_week': { + 'label': _('This Week'), + 'domain': [ + ('create_date', '>=', this_week_start.strftime('%Y-%m-%d')), + ('create_date', '<=', today.strftime('%Y-%m-%d'))] + }, + 'last_year': { + 'label': _('Last Year'), + 'domain': [('create_date', '>=', + (this_year_start - timedelta(days=365)).strftime( + '%Y-%m-%d')), + ('create_date', '<=', + (this_year_start - timedelta(days=1)).strftime( + '%Y-%m-%d'))] + }, + 'this_year': { + 'label': _('This Year'), + 'domain': [ + ('create_date', '>=', this_year_start.strftime('%Y-%m-%d')), + ('create_date', '<=', today.strftime('%Y-%m-%d'))] + }, + 'today': { + 'label': _('Today'), + 'domain': [('create_date', '=', today.strftime('%Y-%m-%d'))] + }, + 'this_quarter': { + 'label': _('This Quarter'), + 'domain': [ + ('create_date', '>=', + this_quarter_start.strftime('%Y-%m-%d')), + ('create_date', '<=', today.strftime('%Y-%m-%d'))] + } + } + + def _get_event_search_domain(self, search_in, search): + """Returns the events for the given search(If we have not entered + the full name which will also gives the output""" + search_domain = [] + if search_in == 'all': + search_domain.append([('name', 'ilike', + f'{search}%')]) + search_domain.append([('email', 'ilike', + f'{search}%')]) + search_domain.append([('phone', 'ilike', + f'{search}%')]) + if search_in in ('event', 'all'): + search_domain.append([('event_id', 'ilike', + f'{search}%')]) + return OR(search_domain) + + def _get_event_searchbar_inputs(self): + """Which will returns a dictionary of values by the search contents + as Search in All, in Content, Search in Stages, Search in Event""" + values = { + 'all': {'input': 'all', 'label': _('Search in All'), 'order': 1}, + 'event': {'input': 'event', 'label': _('Search in Event'), + 'order': 2}, + } + return dict(sorted(values.items(), key=lambda item: item[1]["order"])) + + def _prepare_my_event_values(self, page, date_begin, date_end, sortby, + filterby, search, search_in, + domain=None, url="/my/events"): + """Add all event values to the portal. Which will return the + values event, page, pager, filter, sort, and search""" + values = self._prepare_portal_layout_values() + Events = request.env['event.registration'] + domain = expression.AND([ + domain or [], + self._get_events_domain(), + ]) + searchbar_sortings = self._get_event_searchbar_sortings() + # default sort by order + if not sortby: + sortby = 'date' + order = searchbar_sortings[sortby]['order'] + searchbar_filters = self._get_event_searchbar_filters() + # default filter by value + if not filterby: + filterby = 'all' + domain += searchbar_filters[filterby]['domain'] + searchbar_inputs = self._get_event_searchbar_inputs() + if search and search_in: + domain += self._get_event_search_domain(search_in, search) + if date_begin and date_end: + domain += [('create_date', '>', date_begin), + ('create_date', '<=', date_end)] + values.update({ + 'date': date_begin, + # content according to pager and archive selected + # lambda function to get the invoices recordset when the pager + # will be defined in the main method of a route + 'events': lambda pager_offset: self._get_grouped_events(Events, + domain, + order, + pager_offset), + 'page_name': 'event', + 'pager': { + "url": url, + "url_args": {'date_begin': date_begin, 'date_end': date_end, + 'sortby': sortby, 'search_in': search_in, + 'search': search}, + "total": Events.search_count(domain), + "page": page, + "step": self._items_per_page, + }, + 'default_url': url, + 'searchbar_sortings': searchbar_sortings, + 'sortby': sortby, + 'searchbar_filters': OrderedDict(sorted(searchbar_filters.items())), + 'filterby': filterby, + 'searchbar_inputs': searchbar_inputs, + 'search_in': search_in, + 'search': search, + }) + return values + + def _get_grouped_events(self, Events, domain, order, pager_offset, ): + """Returns the grouped evnts for a given domain""" + events = Events.search(domain, order=order, limit=self._items_per_page, + offset=pager_offset) + return events diff --git a/website_portal_events/doc/RELEASE_NOTES.md b/website_portal_events/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..af6e8fc24 --- /dev/null +++ b/website_portal_events/doc/RELEASE_NOTES.md @@ -0,0 +1,5 @@ +## Module +#### 12.07.2023 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Website Portal Events diff --git a/website_portal_events/static/description/assets/icons/check.png b/website_portal_events/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/website_portal_events/static/description/assets/icons/check.png differ diff --git a/website_portal_events/static/description/assets/icons/chevron.png b/website_portal_events/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/website_portal_events/static/description/assets/icons/chevron.png differ diff --git a/website_portal_events/static/description/assets/icons/cogs.png b/website_portal_events/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/website_portal_events/static/description/assets/icons/cogs.png differ diff --git a/website_portal_events/static/description/assets/icons/consultation.png b/website_portal_events/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/website_portal_events/static/description/assets/icons/consultation.png differ diff --git a/website_portal_events/static/description/assets/icons/ecom-black.png b/website_portal_events/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/website_portal_events/static/description/assets/icons/ecom-black.png differ diff --git a/website_portal_events/static/description/assets/icons/education-black.png b/website_portal_events/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/website_portal_events/static/description/assets/icons/education-black.png differ diff --git a/website_portal_events/static/description/assets/icons/hotel-black.png b/website_portal_events/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/website_portal_events/static/description/assets/icons/hotel-black.png differ diff --git a/website_portal_events/static/description/assets/icons/license.png b/website_portal_events/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/website_portal_events/static/description/assets/icons/license.png differ diff --git a/website_portal_events/static/description/assets/icons/lifebuoy.png b/website_portal_events/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/website_portal_events/static/description/assets/icons/lifebuoy.png differ diff --git a/website_portal_events/static/description/assets/icons/logo.png b/website_portal_events/static/description/assets/icons/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/website_portal_events/static/description/assets/icons/logo.png differ diff --git a/website_portal_events/static/description/assets/icons/manufacturing-black.png b/website_portal_events/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/website_portal_events/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_portal_events/static/description/assets/icons/pos-black.png b/website_portal_events/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/website_portal_events/static/description/assets/icons/pos-black.png differ diff --git a/website_portal_events/static/description/assets/icons/puzzle.png b/website_portal_events/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/website_portal_events/static/description/assets/icons/puzzle.png differ diff --git a/website_portal_events/static/description/assets/icons/restaurant-black.png b/website_portal_events/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/website_portal_events/static/description/assets/icons/restaurant-black.png differ diff --git a/website_portal_events/static/description/assets/icons/service-black.png b/website_portal_events/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/website_portal_events/static/description/assets/icons/service-black.png differ diff --git a/website_portal_events/static/description/assets/icons/trading-black.png b/website_portal_events/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/website_portal_events/static/description/assets/icons/trading-black.png differ diff --git a/website_portal_events/static/description/assets/icons/training.png b/website_portal_events/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/website_portal_events/static/description/assets/icons/training.png differ diff --git a/website_portal_events/static/description/assets/icons/update.png b/website_portal_events/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/website_portal_events/static/description/assets/icons/update.png differ diff --git a/website_portal_events/static/description/assets/icons/user.png b/website_portal_events/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/website_portal_events/static/description/assets/icons/user.png differ diff --git a/website_portal_events/static/description/assets/icons/wrench.png b/website_portal_events/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/website_portal_events/static/description/assets/icons/wrench.png differ diff --git a/website_portal_events/static/description/assets/misc/categories.png b/website_portal_events/static/description/assets/misc/categories.png new file mode 100755 index 000000000..bedf1e0b1 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/categories.png differ diff --git a/website_portal_events/static/description/assets/misc/check-box.png b/website_portal_events/static/description/assets/misc/check-box.png new file mode 100755 index 000000000..42caf24b9 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/check-box.png differ diff --git a/website_portal_events/static/description/assets/misc/compass.png b/website_portal_events/static/description/assets/misc/compass.png new file mode 100755 index 000000000..d5fed8faa Binary files /dev/null and b/website_portal_events/static/description/assets/misc/compass.png differ diff --git a/website_portal_events/static/description/assets/misc/corporate.png b/website_portal_events/static/description/assets/misc/corporate.png new file mode 100755 index 000000000..2eb13edbf Binary files /dev/null and b/website_portal_events/static/description/assets/misc/corporate.png differ diff --git a/website_portal_events/static/description/assets/misc/customer-support.png b/website_portal_events/static/description/assets/misc/customer-support.png new file mode 100755 index 000000000..79efc72ed Binary files /dev/null and b/website_portal_events/static/description/assets/misc/customer-support.png differ diff --git a/website_portal_events/static/description/assets/misc/cybrosys-logo.png b/website_portal_events/static/description/assets/misc/cybrosys-logo.png new file mode 100755 index 000000000..cc3cc0ccf Binary files /dev/null and b/website_portal_events/static/description/assets/misc/cybrosys-logo.png differ diff --git a/website_portal_events/static/description/assets/misc/features.png b/website_portal_events/static/description/assets/misc/features.png new file mode 100755 index 000000000..b41769f77 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/features.png differ diff --git a/website_portal_events/static/description/assets/misc/logo.png b/website_portal_events/static/description/assets/misc/logo.png new file mode 100755 index 000000000..478462d3e Binary files /dev/null and b/website_portal_events/static/description/assets/misc/logo.png differ diff --git a/website_portal_events/static/description/assets/misc/pictures.png b/website_portal_events/static/description/assets/misc/pictures.png new file mode 100755 index 000000000..56d255fe9 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/pictures.png differ diff --git a/website_portal_events/static/description/assets/misc/pie-chart.png b/website_portal_events/static/description/assets/misc/pie-chart.png new file mode 100755 index 000000000..426e05244 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/pie-chart.png differ diff --git a/website_portal_events/static/description/assets/misc/right-arrow.png b/website_portal_events/static/description/assets/misc/right-arrow.png new file mode 100755 index 000000000..730984a06 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/right-arrow.png differ diff --git a/website_portal_events/static/description/assets/misc/star.png b/website_portal_events/static/description/assets/misc/star.png new file mode 100755 index 000000000..2eb9ab29f Binary files /dev/null and b/website_portal_events/static/description/assets/misc/star.png differ diff --git a/website_portal_events/static/description/assets/misc/support.png b/website_portal_events/static/description/assets/misc/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/support.png differ diff --git a/website_portal_events/static/description/assets/misc/whatsapp.png b/website_portal_events/static/description/assets/misc/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/website_portal_events/static/description/assets/misc/whatsapp.png differ diff --git a/website_portal_events/static/description/assets/modules/1.png b/website_portal_events/static/description/assets/modules/1.png new file mode 100644 index 000000000..2c8fbb83f Binary files /dev/null and b/website_portal_events/static/description/assets/modules/1.png differ diff --git a/website_portal_events/static/description/assets/modules/2.png b/website_portal_events/static/description/assets/modules/2.png new file mode 100644 index 000000000..17ba4d75f Binary files /dev/null and b/website_portal_events/static/description/assets/modules/2.png differ diff --git a/website_portal_events/static/description/assets/modules/3.png b/website_portal_events/static/description/assets/modules/3.png new file mode 100644 index 000000000..a29119785 Binary files /dev/null and b/website_portal_events/static/description/assets/modules/3.png differ diff --git a/website_portal_events/static/description/assets/modules/4.png b/website_portal_events/static/description/assets/modules/4.png new file mode 100644 index 000000000..3add135c3 Binary files /dev/null and b/website_portal_events/static/description/assets/modules/4.png differ diff --git a/website_portal_events/static/description/assets/modules/5.png b/website_portal_events/static/description/assets/modules/5.png new file mode 100644 index 000000000..31ed46762 Binary files /dev/null and b/website_portal_events/static/description/assets/modules/5.png differ diff --git a/website_portal_events/static/description/assets/modules/6.gif b/website_portal_events/static/description/assets/modules/6.gif new file mode 100644 index 000000000..0b7368dc0 Binary files /dev/null and b/website_portal_events/static/description/assets/modules/6.gif differ diff --git a/website_portal_events/static/description/assets/screenshots/eve1.png b/website_portal_events/static/description/assets/screenshots/eve1.png new file mode 100644 index 000000000..861644ddd Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve1.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve10.png b/website_portal_events/static/description/assets/screenshots/eve10.png new file mode 100644 index 000000000..1bd6f8dfa Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve10.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve11.png b/website_portal_events/static/description/assets/screenshots/eve11.png new file mode 100644 index 000000000..91007c0d6 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve11.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve12.png b/website_portal_events/static/description/assets/screenshots/eve12.png new file mode 100644 index 000000000..1eb17fbd7 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve12.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve13.png b/website_portal_events/static/description/assets/screenshots/eve13.png new file mode 100644 index 000000000..38d10e2ec Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve13.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve14.png b/website_portal_events/static/description/assets/screenshots/eve14.png new file mode 100644 index 000000000..e1f680f3e Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve14.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve15.png b/website_portal_events/static/description/assets/screenshots/eve15.png new file mode 100644 index 000000000..84a12b88f Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve15.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve17.png b/website_portal_events/static/description/assets/screenshots/eve17.png new file mode 100644 index 000000000..8aee8873d Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve17.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve2.png b/website_portal_events/static/description/assets/screenshots/eve2.png new file mode 100644 index 000000000..8a508e56c Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve2.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve20.png b/website_portal_events/static/description/assets/screenshots/eve20.png new file mode 100644 index 000000000..47e3191f6 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve20.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve21.png b/website_portal_events/static/description/assets/screenshots/eve21.png new file mode 100644 index 000000000..058e6f7f7 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve21.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve22.png b/website_portal_events/static/description/assets/screenshots/eve22.png new file mode 100644 index 000000000..de87426dd Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve22.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve23.png b/website_portal_events/static/description/assets/screenshots/eve23.png new file mode 100644 index 000000000..8552a643e Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve23.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve24.png b/website_portal_events/static/description/assets/screenshots/eve24.png new file mode 100644 index 000000000..d2a7e8d16 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve24.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve25.png b/website_portal_events/static/description/assets/screenshots/eve25.png new file mode 100644 index 000000000..0b103eed9 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve25.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve3.png b/website_portal_events/static/description/assets/screenshots/eve3.png new file mode 100644 index 000000000..55a27fa7d Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve3.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve4.png b/website_portal_events/static/description/assets/screenshots/eve4.png new file mode 100644 index 000000000..d2631c7b4 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve4.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve5.png b/website_portal_events/static/description/assets/screenshots/eve5.png new file mode 100644 index 000000000..3fbb73205 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve5.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve6.png b/website_portal_events/static/description/assets/screenshots/eve6.png new file mode 100644 index 000000000..4d0623df5 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve6.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve7.png b/website_portal_events/static/description/assets/screenshots/eve7.png new file mode 100644 index 000000000..cf850a514 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve7.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve8.png b/website_portal_events/static/description/assets/screenshots/eve8.png new file mode 100644 index 000000000..2b4158cfc Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve8.png differ diff --git a/website_portal_events/static/description/assets/screenshots/eve9.png b/website_portal_events/static/description/assets/screenshots/eve9.png new file mode 100644 index 000000000..ad0a55831 Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/eve9.png differ diff --git a/website_portal_events/static/description/assets/screenshots/hero.gif b/website_portal_events/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..7184a15bd Binary files /dev/null and b/website_portal_events/static/description/assets/screenshots/hero.gif differ diff --git a/website_portal_events/static/description/banner.jpg b/website_portal_events/static/description/banner.jpg new file mode 100644 index 000000000..157e5a4d4 Binary files /dev/null and b/website_portal_events/static/description/banner.jpg differ diff --git a/website_portal_events/static/description/icon.png b/website_portal_events/static/description/icon.png new file mode 100644 index 000000000..05ff8ddf2 Binary files /dev/null and b/website_portal_events/static/description/icon.png differ diff --git a/website_portal_events/static/description/index.html b/website_portal_events/static/description/index.html new file mode 100755 index 000000000..0a76112d3 --- /dev/null +++ b/website_portal_events/static/description/index.html @@ -0,0 +1,717 @@ +
+ +
+ +
+
+ Enterprise +
+
+ Community +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Website Portal Events

+

+ This module is helps to show all events in customer portal

+ + +
+
+
+
+ + +
+
+ +
+

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module helps to show events tickets in portal. The sort, filter, search options are available in the portal to get the details easily. Also there is an option to download the ticket from the portal. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + View event tickets in portal. +
+
+ + An option to sort, filter, search the events to get it easily. +
+
+ + An option to download the events ticket. +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Open My Account from website +

+ +
+
+

+ We can see the Events document in portal. +

+ +
+
+

+ Show all events corresponding to the logged in user. +

+ +
+
+

+ Here we can sort th records by Date and Name +

+ +
+
+

+ The events which are sort by Date +

+ +
+
+

+ The events which are sort by Name +

+ +
+
+

+ We can Filter the records by All, Today, Week, Month, Quarter, Year +

+ +
+
+

+ Filter the records by All +

+ +
+
+

+ Filter the records by Last Month +

+ +
+
+

+ Filter the records by Last Week +

+ +
+
+

+ Filter the records by Last Year +

+ +
+
+

+ We can Search the records by Search in All and Search in Event +

+ +
+
+

+ Search the records based on Search in All case. +

+ +
+
+

+ Output of Search in All case. +

+ +
+
+

+ Search the records based on Search in Event case. +

+ +
+
+

+ Output of Search in Event case. +

+ +
+
+

+ An option to download ticket from the portal +

+ +
+
+

+ The downloaded ticket view +

+ +
+
+

+ Form view of the ticket in portal +

+ +
+
+

+ We can download ticket from the form view also. +

+ +
+
+

+ We can send messages and attachments. Which will be visible in the backend +

+ +
+
+

+ Backend view of the events +

+ +
+
+
+ + + +
+
+ +
+

+ Related + Products +

+
+
+
+ +
+
+ + + + +
+
+ +
+

+ Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ Odoo + Support
+
+
+
+ +
+
+ Hire + Odoo + Developer
+
+
+
+ +
+
+ Odoo + Integration
+
+
+
+ +
+
+ Odoo + Migration
+
+
+
+ +
+
+ Odoo + Consultancy
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+ +
+

+ Our + Industries +

+
+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + + +
+
+ +
+

+ Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? + Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+ +91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/website_portal_events/views/event_portal_templates.xml b/website_portal_events/views/event_portal_templates.xml new file mode 100644 index 000000000..a65e512c0 --- /dev/null +++ b/website_portal_events/views/event_portal_templates.xml @@ -0,0 +1,252 @@ + + + + + + + + + + \ No newline at end of file