Share views

* replaces function based share views with class based
* improves team-share autocomplete search
* renames internal share url names
This commit is contained in:
2022-08-22 10:58:07 +02:00
parent a16f68012d
commit a4de394a54
17 changed files with 158 additions and 204 deletions

View File

@@ -160,7 +160,7 @@ class EcoAccount(AbstractCompensation, ShareableObjectMixin, RecordableObjectMix
Returns:
"""
return reverse("compensation:acc:share", args=(self.id, self.access_token))
return reverse("compensation:acc:share-token", args=(self.id, self.access_token))
def send_notification_mail_on_deduction_change(self, data_change: dict):
""" Sends notification mails for changes on the deduction