Compare commits

..

No commits in common. "ef49752357b23ce9962a76c0524a236b00b53eb8" and "ee136a13ce0fbd4215455a72fa6d5bceefb65cb1" have entirely different histories.

View File

@ -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: