summaryrefslogtreecommitdiff
path: root/addons/website_event/static/src
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-01-22 10:20:19 +0000
committerThibault Delavallée <tde@odoo.com>2020-01-30 15:18:08 +0000
commitcb928ed6133bc3d2104fbf586bba5cae2a482524 (patch)
treecb9a8c89e9c7f05f19ed541dc83da8a64bccbfaa /addons/website_event/static/src
parentf8e80cf47d672384d7311572edd4b6e083e4b398 (diff)
[REF][MOV] website_event(_sale): support tickets in website_event frontend
PURPOSE Integration between event and eCommerce is required only when users handle the entire selling process online. However users may require ticketing support while managing payments outside of Odoo. Purpose of this commit is to support tickets directly in event application without need of sales. RATIONALE Remove the need to have event_sale installed to manage basic multi ticket event type. Integration with eCommerce is needed only when one wants to handle the entire selling flow online, i.e. order, payment, ... Integration with Sales is needed only when one wants to create sale orders linked to attendees. Many event users do not need all of this. Their attendees pay through bank transfers or they simply manage payments outside of Odoo while still requiring tickets management. SPECIFICATIONS In this commit we move frontend part of ticket support from website_event_sale to website_event. Now eCommerce / event integration adds only payment information when registering. About tickets * if there is no ticket -> generic registration allowed; * if there is one ticket -> quick registration box; * more than one ticket -> unfolding registration box with all available tickets; About price * sale not installed -> no mention of price. A ticket without price is not free. Its description allow to tell how to pay for example; * a price is set: price is displayed; * no price is set: FREE is displayed; Most event frontend templates and controllers are therefore moved from website_event_sale to website_event. Only part about pricing and sale order creation is now located in website_event_sale. Buy flow remains mainly untouched. Indeed this commit is mainly about moving template to support tickets. LINKS Task ID 2177281 Community PR #43488
Diffstat (limited to 'addons/website_event/static/src')
-rw-r--r--addons/website_event/static/src/scss/website_event.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website_event/static/src/scss/website_event.scss b/addons/website_event/static/src/scss/website_event.scss
index 576d0360bb6..ebd7d31ce2b 100644
--- a/addons/website_event/static/src/scss/website_event.scss
+++ b/addons/website_event/static/src/scss/website_event.scss
@@ -269,3 +269,9 @@ $o-wevent-event-title-sizes-variants: (
}
}
}
+
+.modal-open {
+ > .modal-backdrop {
+ z-index: $zindex-dropdown - 1;
+ }
+}