Compare commits

..

No commits in common. "57b734f1c236ca98128f892db7311cba87a97a87" and "028efb3023922968091351ba4b41726a2b20864d" 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: