diff --git a/odex25_ensan/odex25_empowermentmanagement/views/empowerment_management.xml b/odex25_ensan/odex25_empowermentmanagement/views/empowerment_management.xml index 31dd77a49..b39808dfc 100644 --- a/odex25_ensan/odex25_empowermentmanagement/views/empowerment_management.xml +++ b/odex25_ensan/odex25_empowermentmanagement/views/empowerment_management.xml @@ -173,16 +173,19 @@ attrs="{'invisible':[('is_mother','=',False)],'required':[('is_mother','=',True)]}"/> + + attrs="{'required':[('is_mother','=',False)],'invisible':[('is_mother','=',True)]}"/> + attrs="{'invisible':['|',('age','<',18),('is_work','=',False)], 'required':[('is_work','=',True)]}"/> + - + @@ -204,6 +207,9 @@ + + + attrs="{'required':[('is_mother','=',False)],'invisible':[('is_mother','=',True)]}"/> + attrs="{'invisible':['|',('age','<',18),('is_work','=',False)], 'required':[('is_work','=',True)]}"/> + - + @@ -445,6 +448,9 @@ + + @@ -464,7 +465,7 @@ options="{'no_create': True, 'no_create_edit': True,'no_quick_create': True, 'no_open': True}" groups="!odex_benefit.group_benefit_manager" required="1"/> - @@ -503,8 +504,37 @@ -

Education Status

- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -546,7 +576,8 @@ attrs="{'readonly':[('state','not in',['draft','new','complete_info'])],'required':[('add_replacement_mother','=',True)]}" options="{'no_create': True, 'no_create_edit': True,'no_quick_create': True, 'no_open': True}" groups="!odex_benefit.group_benefit_manager"/> - @@ -644,7 +675,7 @@ attrs="{'invisible':[('is_mother','=',True)]}"/> + attrs="{'required':[('is_mother','=',False)],'invisible':[('is_mother','=',True)]}"/> + + + attrs="{'invisible':['|',('age','<',18),('is_work','=',False)], 'required':[('is_work','=',True)]}"/> + - + - @@ -697,12 +737,14 @@ - -