diff --git a/odex25_benefit/odex_benefit/i18n/ar_001.po b/odex25_benefit/odex_benefit/i18n/ar_001.po index f05e4a111..2f7483c5a 100644 --- a/odex25_benefit/odex_benefit/i18n/ar_001.po +++ b/odex25_benefit/odex_benefit/i18n/ar_001.po @@ -18509,4 +18509,35 @@ msgstr "تجاوزت عمر %s وليس لديها اخوة قصر" #: code:addons/odex_benefit/models/family_members.py:0 #, python-format msgid "She is over %s years of age." -msgstr "تجاوزت عمر %s" \ No newline at end of file +msgstr "تجاوزت عمر %s" + +#. module: odex_benefit +#: model:ir.model.fields,field_description:odex_benefit.field_location_settings__replacement_mother_is_benefit +#: model:ir.model.fields,field_description:odex_benefit.field_marital_status__replacement_mother_is_benefit +msgid "Replacement Mother Is Benefit?" +msgstr "هل الأم البديلة مستفيدة؟" + +#. module: odex_benefit +#: code:addons/odex_benefit/models/benefit.py:0 +#, python-format +msgid "Family is suspended or refused." +msgstr "توقفت الأسرة أو تم رفضها." + +#. module: odex_benefit +#: code:addons/odex_benefit/models/benefit.py:0 +#, python-format +msgid "Replacement mother marital or location information is missing." +msgstr "معلومات الحالة الاجتماعية أو موقع السكن للأم البديلة مفقودة." + +#. module: odex_benefit +#: code:addons/odex_benefit/models/benefit.py:0 +#, python-format +msgid "The replacement mother's marital status is not eligible for benefits." +msgstr "الحالة الاجتماعية للأم البديلة غير مؤهلة للاستفادة." + +#. module: odex_benefit +#: code:addons/odex_benefit/models/benefit.py:0 +#, python-format +msgid "The replacement mother's location is not eligible for benefits." +msgstr "مكان سكن الأم البديلة غير مؤهل للاستفادة." + diff --git a/odex25_benefit/odex_benefit/models/ir_attachment_inherit.py b/odex25_benefit/odex_benefit/models/ir_attachment_inherit.py index ed443109c..ce6457f33 100644 --- a/odex25_benefit/odex_benefit/models/ir_attachment_inherit.py +++ b/odex25_benefit/odex_benefit/models/ir_attachment_inherit.py @@ -18,7 +18,7 @@ class BenefitAttachment(models.Model): attach_id = fields.Many2one('attachments.settings', string="Attach",domain=[('attach_type', '=', 'member_attach')]) hobbies_id = fields.Many2one('attachments.settings', string="Hobby",domain=[('attach_type', '=', 'hobbies_attach')]) diseases_id = fields.Many2one('attachments.settings', string="Diseases",domain=[('attach_type', '=', 'diseases_attach'), ('parent_id','=',False)]) - diseases_child_id = fields.Many2one('attachments.settings',string="Sub Disease",domain="[('parent_id','=',diseases_id)]") + diseases_child_id = fields.Many2one('attachments.settings',string="Sub Disease",domain="[('attach_type', '=', 'diseases_attach'),('parent_id','=',diseases_id)]") disabilities_id = fields.Many2one('attachments.settings', string="Disabilities",domain=[('attach_type', '=', 'disabilities_attach'), ('parent_id','=',False)]) disabilities_child_id = fields.Many2one('attachments.settings',string="Sub Disability",domain="[('parent_id','=',disabilities_id)]") hobby_attach = fields.Binary(attachment=True, string="Hobby Attach")