#99 Admin backend cleanup

* removes admin backend views which are not important for production
* adds filtering functionalities on index views
* simplifies detail views on intervention, compensation, ecoaccount and ema
* adds autocomplete fields on detail views
* adds handy horizontal filter fields on detail views
This commit is contained in:
mpeltriaux committed 2022-02-01 18:41:02 +01:00
1 parent 568a288e92
commit 5b0b376405
14 files changed
+243 -60

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ class EcoAccount(AbstractCompensation, ShareableObjectMixin, RecordableObjectMix
objects = EcoAccountManager()
def __str__(self):
return "{}".format(self.identifier)
return f"{self.identifier} ({self.title})"
def clean(self):
# Deductable surface can not be larger than added states after surface