* links edit button in detail view with edit functionality
* fixes minor comment rendering bug
* fixes bug where compensation changes won't save
This commit is contained in:
mipel
2021-10-04 16:18:59 +02:00
parent feeddda90d
commit 0342d96a1f
5 changed files with 38 additions and 7 deletions

View File

@@ -196,6 +196,7 @@ class EditCompensationForm(NewCompensationForm):
self.instance.geometry = geometry
self.instance.comment = comment
self.instance.fundings.set(fundings)
self.instance.save()
self.instance.log.add(action)
return self.instance