#7 New Form
* fixes bug where modified was not changed on an edit of compensation and ecoaccount
This commit is contained in:
parent
98f8a222dc
commit
edb57b30b6
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user