Skip to content

Commit

Permalink
[ADD] portal_event_tickets
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Yelizariev <yelizariev@users.noreply.github.com>
Co-authored-by: Alexandr Kolushov <KolushovAlexandr@users.noreply.github.com>
Co-authored-by: Eugene Molotov <em230418@users.noreply.github.com>
Co-authored-by: Victor Bykov <BykovVik@users.noreply.github.com>
Co-authored-by: Ilmir Karamov <ilmir-k@users.noreply.github.com>
  • Loading branch information
6 people committed Oct 15, 2024
1 parent 4ca98f6 commit 7111fff
Show file tree
Hide file tree
Showing 33 changed files with 2,040 additions and 0 deletions.
154 changes: 154 additions & 0 deletions portal_event_tickets/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
=====================
Customer Event Portal
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:26a1b1272c217905969b3d3a159e7dff8e4ce0d0fc8c18e9c227338d7fc32c84
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-it--projects--llc%2Fwebsite--addons-lightgray.png?logo=github
:target: https://github.com/it-projects-llc/website-addons/tree/14.0/portal_event_tickets
:alt: it-projects-llc/website-addons

|badge1| |badge2| |badge3|

Allows to customers see tickets for events at Portal.

- Only confirmed tickets with attendee_partner_id as current user are
shown

Additional features:

- Ticket transferring feature

- To decrease chance of transferring to a wrong email, partner with
the email must exist before transferring.

- New *When to Run* values for Email Schedule:

- transferring_started
- transferring_finished

- New attendee receives email with a link to finish ticket
transferring

- Tracks changes in key registration fields (via ``tracking=True``)

- Tickets can be changed to other products (including other tickets)

- When old ticket is canceled, a message with a reference to new
Sale Order is posted

**Table of contents**

.. contents::
:local:

Configuration
=============

Ticket transferring configuration
---------------------------------

At event form:

- Activate ``[x] Enable Ticket transferring``

- At ``Email Schedule`` Tab add record:

- **Email To Send**: *Event: Transferring started*
- **Unit**: *Immediately*
- **When to Run**: *Transferring started*

Ticket changing configuration
-----------------------------

At event form:

- Activate ``[x] Enable Ticket changing``

Usage
=====

- Open link ``/my``
- RESULT: there is sections Tickets

Ticket transferring
-------------------

Feature allows for attendees to transfer ticket ownership to another
partner by email.

- Login to portal as current ticket attendee
- Select a ticket
- Click button ``[Transfer to another person]``
- Specify person's email. The partner must be already registered
- Click ``[Confrim]``

Now second person receives an email. If you use test deployment without
mail servers, then you can find email at menu
``[[ Settings ]] >> Technical >> Email >> Messages``.

- Login to portal as new ticket attendee
- Open then link at email
- Fill the form
- Click ``[Confrim]``
- RESULT: Ticket has new owner

Ticket changing
---------------

Feature allows to change the ticket to new ticket or product

- Login to portal
- Select a ticket
- Click button ``[Upgrade / Change ticket]``
- You are redirected to original event page. You can select new ticket
or navigate to ``/shop`` page and fill the cart
- Follow checkout process
- When the order is confirmed (e.g. after payment), old ticket is
canceled and new one is confirmed

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/it-projects-llc/website-addons/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/it-projects-llc/website-addons/issues/new?body=module:%20portal_event_tickets%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* IT-Projects LLC

Contributors
------------

- Ivan Yelizariev (https://github.com/yelizariev)
- Alexandr Kolushov (https://github.com/KolushovAlexandr)
- Eugene Molotov (https://github.com/em230418)
- Victor Bykov (https://github.com/BykovVik)
- Ilmir Karamov (https://github.com/ilmir-k)

Maintainers
-----------

This module is part of the `it-projects-llc/website-addons <https://github.com/it-projects-llc/website-addons/tree/14.0/portal_event_tickets>`_ project on GitHub.

You are welcome to contribute.
2 changes: 2 additions & 0 deletions portal_event_tickets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import controllers
from . import models
27 changes: 27 additions & 0 deletions portal_event_tickets/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": """Customer Event Portal""",
"summary": """Allows to customers see their tickets for events at the Portal""",
"category": "Marketing",
"images": ["images/banner.jpg"],
"version": "14.0.1.0.0",
"author": "IT-Projects LLC",
"support": "apps@itpp.dev",
"website": "https://github.com/it-projects-llc/website-addons",
"license": "AGPL-3",
"depends": [
"portal",
"partner_event",
"website_event_sale",
"website_event_attendee_fields",
"website_sale_refund",
],
"data": [
"views/portal_templates.xml",
"views/event_registration.xml",
"views/event_event.xml",
"data/mail_template_data.xml",
"views/assets.xml",
],
"qweb": [],
"demo": ["data/res_users_demo.xml"],
}
1 change: 1 addition & 0 deletions portal_event_tickets/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main
Loading

0 comments on commit 7111fff

Please sign in to comment.