summaryrefslogtreecommitdiff
path: root/addons/mail/static/tests/thread_window/basic_thread_window_tests.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-01-23 08:11:56 +0000
committerThibault Delavallée <tde@odoo.com>2020-01-30 15:18:08 +0000
commitf8e80cf47d672384d7311572edd4b6e083e4b398 (patch)
treed9a3a3e625ed4997647d194edd9d738bd3df762c /addons/mail/static/tests/thread_window/basic_thread_window_tests.js
parent1a2fcf0add42def532cf407671c11089c3285268 (diff)
[REF] event: improve ticket type / ticket event fields propagation
PURPOSE This commit is part of ticket model support directly in event application. SPECIFICATIONS 1: remove date fields from event.type.ticket Coming from old ticket implementation there are several unused fields on event.type.ticket, notably dates about selling. Indeed tickets defined on event.type are templates and should not be time bound. Previously those fields were available on event.type tickets but not propagated to the event tickets. Now they are not available anymore, simplifying models. We therefore remove them from event.type.ticket model. SPECIFICATIONS 2: propagate seats definition from ticket template to tickets Previously to the global feature this commit is a member of, only ticket name, product and price were copied from event.type to its events. Description has been added in a previous commit. In this commit we also propagate maximum seats availability. Use case is linked to event.type defining a recurring event in a given location. As seats availability is known it can be copied on all events linked to this event type. SPECIFICATIONS 3: improve naming of event tickets Before this commit, all tickets of an event were labeled the same way by default, using simply ``<event_name>``. This is annoying when having several tickets as they had all the same name. In this commit we fix that behavior by setting the name * directly from the ticket template when tickets come from an event.type. Configuring Standard and VIP tickets on an event type will therefore give Standard and VIP tickets on event; * generic 'Registration for <event_name>' when adding manually a new ticket for an event; LINKS Task ID 2177281 Community PR #43488
Diffstat (limited to 'addons/mail/static/tests/thread_window/basic_thread_window_tests.js')
0 files changed, 0 insertions, 0 deletions