Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions website_event_filter_city/tests/test_ui.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Copyright 2016 Tecnativa - Jairo Llopis
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from datetime import timedelta

from odoo import fields
from odoo.tests.common import HttpCase, new_test_user, tagged


Expand All @@ -27,8 +30,8 @@ def setUpClass(cls):
event = cls.env["event.event"].create(
{
"name": "My Event Test",
"date_begin": "2026-09-15 10:00:00",
"date_end": "2026-09-15 18:00:00",
"date_begin": fields.Datetime.now() + timedelta(days=1),
"date_end": fields.Datetime.now() + timedelta(days=1, hours=8),
"date_tz": "Atlantic/Canary",
"user_id": cls.env.user.id,
"address_id": location.id,
Expand Down
Loading