* corrects behaviour of lanis link generation for EIV and KOM
This commit is contained in:
mpeltriaux committed 2023-10-26 07:26:38 +02:00
1 parent 599764ef38
commit 0f173c4802
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -398,7 +398,8 @@ class Intervention(BaseObject,
try:
is_old_entry = self.legal.binding_date < LKOMPVZVO_PUBLISH_DATE
except TypeError:
is_old_entry = True
is_old_entry = False
if is_old_entry:
retval = INTERVENTION_LANIS_LAYER_NAME_UNRECORDED_OLD_ENTRY
else: