[IMP] odex_benefit: IMP benefit
This commit is contained in:
parent
ac8c5b2764
commit
300d7fad4f
|
|
@ -725,7 +725,7 @@ class FamilyMemberProfile(models.Model):
|
|||
rec.member_status = 'non_benefit'
|
||||
reasons.append(_("She is employed and not enrolled in an educational institution."))
|
||||
if age_exceeded:
|
||||
if has_benefiting_son or has_younger_benefiting_daughter:
|
||||
if rec.age < minor_siblings_age and (has_benefiting_son or has_younger_benefiting_daughter):
|
||||
rec.member_status = 'benefit'
|
||||
else:
|
||||
rec.member_status = 'non_benefit'
|
||||
|
|
|
|||
Loading…
Reference in New Issue