Fixing broken document migration

* adds changes to document migration to correctly migrate documents
This commit is contained in:
2022-12-02 12:57:18 +01:00
parent 3574b315eb
commit cf7cedaa34
4 changed files with 5 additions and 5 deletions

View File

@@ -145,7 +145,8 @@ class Intervention(BaseObject,
Returns:
"""
celery_export_to_egon.delay(self.id)
if self.payments.exists():
celery_export_to_egon.delay(self.id)
def set_recorded(self, user: User) -> UserActionLogEntry:
log_entry = super().set_recorded(user)