Skip to content

Commit

Permalink
T1798 FIX date ticket comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ecino committed Sep 5, 2024
1 parent 88e9b32 commit 8bf7443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website_event_compassion/models/event_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def create_trip_invoice(self):
travel_ticket = travel_ticket.filtered(
lambda t, reg=registration: t.start_sale_date
or reg.create_date.date() <= reg.create_date <= t.end_sale_date
or reg.create_date
or reg.create_date.date()
)[:1]
room_ticket = registration.event_id.event_ticket_ids.filtered(
lambda t: t.product_id.product_tmpl_id == single_room_cost
Expand Down

0 comments on commit 8bf7443

Please sign in to comment.