summaryrefslogtreecommitdiff
path: root/odoo
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-05-19 07:50:10 +0000
committerThibault Delavallée <tde@odoo.com>2020-05-19 10:14:41 +0000
commit5a5eced13cbffd62f2699f46c0e80b868a3bf79c (patch)
treef7f2d494556e45f58c99fea262cf2f64339284a7 /odoo
parent80197388429f39ed57a5ce95d49281026a335488 (diff)
[FIX] website_event: do not tell yet-to-come events are closed
Currently if an event has tickets, some of them with start date and some of them without, it is considered has beginning at the minimal start date. However if a ticket has no start date and is not expired, it means it is available for sale. An event start date is therefore the first date of its not expired tickets if they all have a date, otherwise it is set to False (aka, already started). We also fix display in main event page: events not yet open are not considered as Sold out or Closed anymore, just not yet open. Task ID 2244487 PR #51503 closes odoo/odoo#51523 X-original-commit: 8404a6ff12ee82e9b4ec35660f74dbe0b4a90cb0 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'odoo')
0 files changed, 0 insertions, 0 deletions