* corrects behaviour of lanis link generation for EIV and KOM
This commit is contained in:
2023-10-26 07:26:38 +02:00
parent 23c7a80bd7
commit 17de730c53
2 changed files with 3 additions and 2 deletions

View File

@@ -493,7 +493,7 @@ class Compensation(AbstractCompensation, CEFMixin, CoherenceMixin, PikMixin):
try:
is_old_entry = self.intervention.legal.binding_date < LKOMPVZVO_PUBLISH_DATE
except TypeError:
is_old_entry = True
is_old_entry = False
if is_old_entry:
retval = COMPENSATION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY