# 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:
@@ -510,12 +510,6 @@ class Compensation(AbstractCompensation, CEFMixin, CoherenceMixin, PikMixin):
|
||||
|
||||
return retval
|
||||
|
||||
@property
|
||||
def checked(self):
|
||||
if self.intervention:
|
||||
return self.intervention.checked
|
||||
return None
|
||||
|
||||
|
||||
class CompensationDocument(AbstractDocument):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user