diff --git a/odex25_ensan/odex_benefit/i18n/ar_001.po b/odex25_ensan/odex_benefit/i18n/ar_001.po index 7205589b9..86988c6ce 100644 --- a/odex25_ensan/odex_benefit/i18n/ar_001.po +++ b/odex25_ensan/odex_benefit/i18n/ar_001.po @@ -11354,16 +11354,14 @@ msgstr "رقم الجوال {} موجود بالفعل في أسرة بكود {} #, python-format msgid "" "The son/daughter's age is supposed to be less than the father's age by %s" -msgstr "" -"عمر الابن/الابنة مفترض أن يكون أقل من عمر الأب بـ %s سنوات" +msgstr "عمر الابن/الابنة مفترض أن يكون أقل من عمر الأب بـ %s سنوات" #. module: odex_benefit #: code:addons/odex_benefit/models/family_members.py:0 #, python-format msgid "" -"The son/daughter's age is supposed to be less than the mother's age by %s" -msgstr "" -"عمر الابن/الابنة مفترض أن يكون أقل من عمر الأم بـ %s سنوات" +" age is supposed to be less than the mother's age by %s" +msgsThe son/daughter'str "عمر الابن/الابنة مفترض أن يكون أقل من عمر الأم بـ %s سنوات" #. module: odex_benefit #: model:ir.model.fields,help:odex_benefit.field_benefits_representative__membership_amount diff --git a/odex25_ensan/odex_benefit/models/family_members.py b/odex25_ensan/odex_benefit/models/family_members.py index 5fc577bc5..0f664c8f0 100644 --- a/odex25_ensan/odex_benefit/models/family_members.py +++ b/odex25_ensan/odex_benefit/models/family_members.py @@ -271,11 +271,11 @@ class FamilyMemberProfile(models.Model): if rec.relationn.relation_type in ['son', 'daughter'] and rec.relationn.age_difference > 0: if rec.benefit_id.father_age and rec.benefit_id.father_age - rec.age < rec.relationn.age_difference: raise ValidationError( - _("The son/daughter's age is supposed to be less than the father's age by %s" % rec.relationn.age_difference) + _("The son/daughter's age is supposed to be less than the father's age by %s") % rec.relationn.age_difference ) if rec.benefit_id.mother_age and rec.benefit_id.mother_age - rec.age < rec.relationn.age_difference: raise ValidationError( - _("The son/daughter's age is supposed to be less than the mother's age by %s" % rec.relationn.age_difference) + _("The son/daughter's age is supposed to be less than the mother's age by %s") % rec.relationn.age_difference ) diff --git a/odex25_ensan/odex_benefit/views/benefit_view.xml b/odex25_ensan/odex_benefit/views/benefit_view.xml index 204d1cf4d..19de220c8 100644 --- a/odex25_ensan/odex_benefit/views/benefit_view.xml +++ b/odex25_ensan/odex_benefit/views/benefit_view.xml @@ -311,7 +311,7 @@ options="{'no_create': True, 'no_create_edit': True}" groups="!odex_benefit.group_benefit_manager"/> --> - @@ -1524,10 +1524,6 @@ - - - -