Compare commits
3 Commits
ee136a13ce
...
ef49752357
Author | SHA1 | Date | |
---|---|---|---|
ef49752357 | |||
57b734f1c2 | |||
56ddf7ddfa |
@ -91,8 +91,9 @@ class EcoAccountQualityChecker(CompensationQualityChecker):
|
||||
Returns:
|
||||
|
||||
"""
|
||||
surface = self.obj.deductable_surface
|
||||
if surface is None or surface == 0:
|
||||
surface = self.obj.deductable_surface or 0
|
||||
is_surface_invalid = surface == 0
|
||||
if is_surface_invalid:
|
||||
self._add_missing_attr_name(_("Available Surface"))
|
||||
after_state_surface = self.obj.get_state_after_surface_sum()
|
||||
if surface > after_state_surface:
|
||||
|
Loading…
Reference in New Issue
Block a user