Skip to content
Snippets Groups Projects
Commit 86c23a39 authored by Aurélien Warnon's avatar Aurélien Warnon
Browse files

[FIX] website_event_track_exhibitor: fix sponsor 'midnight' opening hours


Currently, configuring opening hours for event sponsors 'at midnight' is not
handled properly.

If you set either the start time or the end time opening hours to "00:00",
the sponsor will be considered as always open.

We fix that by correctly taking into account that configuration.

(Note: if the user configures a sponsor to be open 'until midnight', we assume
it means midnight 'the next day').

Tests have been altered to take this into account.

Task-3459777

closes odoo/odoo#131508

X-original-commit: b7db1dfa
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
parent 5609fa11
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment