# 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:
2025-10-20 09:49:18 +02:00
parent 5b1af04d66
commit 5e01d7ccda
7 changed files with 52 additions and 33 deletions

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