[IMP] odex_benefit: IMP benefit

This commit is contained in:
younes 2026-01-19 15:46:04 +01:00
parent c74cb8f89d
commit f7b80a7332
2 changed files with 33 additions and 2 deletions

View File

@ -18510,3 +18510,34 @@ msgstr "تجاوزت عمر %s وليس لديها اخوة قصر"
#, python-format
msgid "She is over %s years of age."
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 "مكان سكن الأم البديلة غير مؤهل للاستفادة."

View File

@ -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")