Egon sending

* adds sending to EGON (again) when Intervention is recorded
pull/263/head
mpeltriaux 2 years ago
parent e26fc7fae1
commit 6e85c6ea91

@ -151,6 +151,7 @@ class Intervention(BaseObject,
def set_recorded(self, user: User) -> UserActionLogEntry:
log_entry = super().set_recorded(user)
self.add_log_entry_to_compensations(log_entry)
self.send_data_to_egon()
return log_entry
def add_log_entry_to_compensations(self, log_entry: UserActionLogEntry):

Loading…
Cancel
Save