summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-07-06 11:49:46 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-04 14:28:29 +0000
commitb3d2df460fca1395a92f558b5dda3b088e99a113 (patch)
tree5a0e16f3e4d77a9f9870d03321d266e5034be561 /addons/mail/static/src/models/thread_cache
parent54dafd3b7f5c3000ce35d43cec0eb1bbbeeff73f (diff)
[IMP] website_event_online: add time-related computation on events
RATIONALE Events are sometimes held online, gathering a community. In this merge we improve Event application to better support full-online events with improved tracks, wishlists, chat rooms, ... PURPOSE Reduce complexity of frontend templates and ease time-related display by adding computed fields on event. SPECIFICATIONS Add following information to be used in future templates * is_ongoing: between start and end of event; * is_done: after end of event; * start_today: will start today, for example to display remaining hours before start; * start_remaining: remaining time before start; Ensure timezone are correctly taken into account. Base heuristic is * datetime are stored in UTC in database; * TZ of event is stored on date_tz of event; * make most computation based on UTC: compare UTC of current visitor to UTC of event datetime; LINKS Community PR #53540 Enterprise PR odoo/enterprise#11384 Task ID-2252655 (Main Online Event task) Task ID-2283796 (Event B2Basics / Registration Flow) Co-Authored-By: Aurélien Warnon <awa@odoo.com> Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions