[FIX] odex_benefit: FIX bug

This commit is contained in:
younes 2025-12-09 09:05:47 +01:00
parent 5b865e78e9
commit 36013603be
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@
'readonly':[('state','not in',['draft','new','complete_info'])]}"/> 'readonly':[('state','not in',['draft','new','complete_info'])]}"/>
<field name="mother_dead_city" attrs="{ <field name="mother_dead_city" attrs="{
'invisible': ['|',('mother_is_dead', '=', False),('mother_dead_country_id_code', '=', 'SA')], 'invisible': ['|',('mother_is_dead', '=', False),('mother_dead_country_id_code', '=', 'SA')],
'required':[('mother_dead_country_id_code', '=', 'SA'), ('mother_is_dead','=',True)], 'required':[('mother_dead_country_id_code', '!=', 'SA'), ('mother_is_dead','=',True)],
'readonly':[('state','not in',['draft','new','complete_info'])] 'readonly':[('state','not in',['draft','new','complete_info'])]
}"/> }"/>
<field name="mother_dead_date" <field name="mother_dead_date"