# NewEcoAccount EditEcoAccount view

* refactors new and edit eco account views from function to class based
* removes info message if checked intervention is altered and loses the current checked state
* updates comments/documentation
* removes code duplicates
* fixes display error where modal form was hidden behind menu bar of map client
* fixes bug where compensation could not be created directly from intervention
This commit is contained in:
mpeltriaux committed 2025-11-28 11:53:15 +01:00
1 parent 5b1af04d66
commit 5e01d7ccda
7 files changed
+52 -33

No files matched your search

-4
View File
@@ -46,10 +46,6 @@ class NewEmaFormView(BaseNewSpatialLocatedObjectFormView):
# User has to be an ets user
return user.is_ets_user()
def _user_has_shared_access(self, user, **kwargs):
# No specific share constraint for creatin EMA entries
return True
class EditEmaFormView(BaseEditSpatialLocatedObjectFormView):
_MODEL_CLS = Ema