* fixes bug where modified was not changed on an edit of compensation and ecoaccount
This commit is contained in:
mipel 2021-10-06 13:40:38 +02:00
parent 98f8a222dc
commit edb57b30b6

View File

@ -216,6 +216,7 @@ class EditCompensationForm(NewCompensationForm):
self.instance.intervention = intervention
self.instance.geometry = geometry
self.instance.comment = comment
self.instance.modified = action
self.instance.fundings.set(fundings)
self.instance.save()
@ -413,6 +414,7 @@ class EditEcoAccountForm(NewEcoAccountForm):
self.instance.deductable_surface = surface
self.instance.geometry = geometry
self.instance.comment = comment
self.instance.modified = action
self.instance.save()
self.instance.fundings.set(fundings)