diff --git a/website_event_compassion/models/event_registration.py b/website_event_compassion/models/event_registration.py index f9624ad..f780bce 100644 --- a/website_event_compassion/models/event_registration.py +++ b/website_event_compassion/models/event_registration.py @@ -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