# 63 Refactoring
* refactors django User model to custom User model to provide further attributes and methods directly on the user model
This commit is contained in:
@@ -58,20 +58,8 @@ class EcoAccountQualityChecker(CompensationQualityChecker):
|
||||
self._check_deductable_surface()
|
||||
self._check_responsible_data()
|
||||
self._check_legal_data()
|
||||
self._check_record_state()
|
||||
super().run_check()
|
||||
|
||||
def _check_record_state(self):
|
||||
""" Checks the data quality for recorded state
|
||||
|
||||
Returns:
|
||||
|
||||
"""
|
||||
if self.obj.recorded is None:
|
||||
self.messages.append(
|
||||
_("Not recorded")
|
||||
)
|
||||
|
||||
def _check_legal_data(self):
|
||||
""" Checks the data quality for Legal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user