diff --git a/odex25_benefit/odex_benefit/models/family_members.py b/odex25_benefit/odex_benefit/models/family_members.py index 741f11bac..c1287b45b 100644 --- a/odex25_benefit/odex_benefit/models/family_members.py +++ b/odex25_benefit/odex_benefit/models/family_members.py @@ -588,7 +588,7 @@ class FamilyMemberProfile(models.Model): rec.member_status = 'non_benefit' reasons.append( _("He has a physical or intellectual disability but is over %s years of age.") % exceptional_age_has_disabilities) - if rec.education_status not in [ + if rec.education_status in [ 'educated'] and current_education_status_id.case_study != 'continuous': rec.member_status = 'non_benefit' reasons.append( diff --git a/odex25_benefit/odex_benefit/views/benefit_view.xml b/odex25_benefit/odex_benefit/views/benefit_view.xml index 8b19eb8ac..2496b3736 100644 --- a/odex25_benefit/odex_benefit/views/benefit_view.xml +++ b/odex25_benefit/odex_benefit/views/benefit_view.xml @@ -1799,18 +1799,18 @@ options="{'no_create': True, 'no_create_edit': True}" /> + attrs="{'readonly':[('state','not in',['complete_info','waiting_approve','first_approve'])]}"/> + attrs="{'readonly':[('state','not in',['complete_info','waiting_approve','first_approve'])]}"/>