Compare commits
No commits in common. "ef49752357b23ce9962a76c0524a236b00b53eb8" and "ee136a13ce0fbd4215455a72fa6d5bceefb65cb1" have entirely different histories.
ef49752357
...
ee136a13ce
@ -91,9 +91,8 @@ class EcoAccountQualityChecker(CompensationQualityChecker):
|
||||
Returns:
|
||||
|
||||
"""
|
||||
surface = self.obj.deductable_surface or 0
|
||||
is_surface_invalid = surface == 0
|
||||
if is_surface_invalid:
|
||||
surface = self.obj.deductable_surface
|
||||
if surface is None or surface == 0:
|
||||
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