Compare commits

..

No commits in common. "02af67d907a7c1e0f80cac3858ead4408e6e755e" and "accccb93c2940d95ad41a188808717efbc76653c" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

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

View File

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