-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] website_event_require_login_itpp
Co-authored-by: Ivan Yelizariev <[email protected]> Co-authored-by: Artem Rafailov <[email protected]> Co-authored-by: Eugene Molotov <[email protected]> Co-authored-by: Victor Bykov <[email protected]>
- Loading branch information
1 parent
eff8358
commit 6f49376
Showing
12 changed files
with
632 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
======================== | ||
No tickets without Email | ||
======================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:0e53ce0bc6aaed4335ccd5879ff1bc2b74c8373d11bc3ea47936805ebd10e292 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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-LGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-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/website_event_require_login_itpp | ||
:alt: it-projects-llc/website-addons | ||
|
||
|badge1| |badge2| |badge3| | ||
|
||
The module updates ``/event/EVENT-ID/register`` page when user is not | ||
authenticated: | ||
|
||
- button ``[Register Now]`` (``[Order Now]`` if ``website_event_sale`` | ||
is installed) is renamed to ``[Sign in (Sign up) to proceed]`` and | ||
opens ``/web/login`` page | ||
- quantity selectors are disabled | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
- Open page ``/event`` as non-authenticated user | ||
|
||
- Select some Event | ||
|
||
- RESULT: | ||
|
||
- button button ``[Register Now]`` (``[Order Now]`` if | ||
``website_event_sale`` is installed) is renamed to ask for sign in | ||
/ sign up | ||
- quantity selectors are disabled | ||
|
||
- Click the button | ||
|
||
- RESULT: it opens login page | ||
|
||
- sign in or sign up | ||
|
||
- RESULT: you are redirect back to event page and now you can order the | ||
tickets | ||
|
||
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:%20website_event_require_login_itpp%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) | ||
- Artem Rafailov (https://github.com/Ommo73) | ||
- Eugene Molotov (https://github.com/em230418) | ||
- Victor Bykov (https://github.com/BykovVik) | ||
|
||
Maintainers | ||
----------- | ||
|
||
This module is part of the `it-projects-llc/website-addons <https://github.com/it-projects-llc/website-addons/tree/14.0/website_event_require_login_itpp>`_ project on GitHub. | ||
|
||
You are welcome to contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import controllers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": """No tickets without Email""", | ||
"summary": """User registration at your portal is always a plus for marketing""", | ||
"category": "Marketing", | ||
"images": ["images/banner.jpg"], | ||
"version": "14.0.1.0.0", | ||
"application": False, | ||
"author": "IT-Projects LLC", | ||
"support": "[email protected]", | ||
"website": "https://github.com/it-projects-llc/website-addons", | ||
"license": "LGPL-3", | ||
"depends": ["website_event"], | ||
"data": ["views/website_event_sale_templates.xml"], | ||
"qweb": [], | ||
"demo": [], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import main |
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Ivan Yelizariev (https://github.com/yelizariev) | ||
- Artem Rafailov (https://github.com/Ommo73) | ||
- Eugene Molotov (https://github.com/em230418) | ||
- Victor Bykov (https://github.com/BykovVik) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
The module updates `/event/EVENT-ID/register` page when user is not authenticated: | ||
|
||
* button `[Register Now]` (`[Order Now]` if `website_event_sale` is installed) is renamed to `[Sign in (Sign up) to proceed]` and opens `/web/login` page | ||
* quantity selectors are disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
* Open page `/event` as non-authenticated user | ||
* Select some Event | ||
* RESULT: | ||
|
||
* button button `[Register Now]` (`[Order Now]` if `website_event_sale` is installed) is renamed to ask for sign in / sign up | ||
* quantity selectors are disabled | ||
|
||
* Click the button | ||
* RESULT: it opens login page | ||
* sign in or sign up | ||
* RESULT: you are redirect back to event page and now you can order the tickets |
Oops, something went wrong.