From d754b5a35dd205b148c50fea5861c04fa732fa0b Mon Sep 17 00:00:00 2001 From: Emanuel Cino Date: Thu, 5 Sep 2024 13:55:28 +0200 Subject: [PATCH] T1798 Post invoice --- website_event_compassion/models/event_registration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/website_event_compassion/models/event_registration.py b/website_event_compassion/models/event_registration.py index 73400ca..859c479 100644 --- a/website_event_compassion/models/event_registration.py +++ b/website_event_compassion/models/event_registration.py @@ -668,6 +668,7 @@ def create_trip_invoice(self): "invoice_line_ids": invoice_lines, } ) + registration.trip_invoice_id.action_post() return True ##########################################################################