Merge pull request #6093 from expsa/14.0-i18n-odex_takaful-auto-20260109_161544

[FIX] odex_takaful: fix issues and bugs
This commit is contained in:
Mohamed Eltayar 2026-01-09 16:16:14 +03:00 committed by GitHub
commit 313c2b7d71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 276 additions and 195 deletions

View File

@ -6,15 +6,14 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-01-06 05:45+0000\n"
"PO-Revision-Date: 2026-01-06 05:45+0000\n"
"POT-Creation-Date: 2026-01-08 23:09+0000\n"
"PO-Revision-Date: 2026-01-08 23:09+0000\n"
"Last-Translator: \n"
"Language-Team: Arabic\n"
"Language: ar_001\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: odex_takaful
#: model:ir.actions.report,print_report_name:odex_takaful.action_report_orphan_mother
@ -232,6 +231,11 @@ msgid ""
"<b>%s</b><br/>Reason: %s"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "<br/> في الجنة."
msgstr ""
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/replace_sponsor_wizard.py:0
#, python-format
@ -364,6 +368,21 @@ msgid ""
"البسيطة، نرفق لكم تقرير مفصل عن اليتيم المكفول:</span>"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "<span style=\"font-weight: bold;\">التاريخ: </span>"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "<span style=\"font-weight: bold;\">رقم السند: </span>"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "<span style=\"font-weight: bold;\">رقم الكفالة: </span>"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.kafalat_payment_report_pdf
#: model_terms:ir.ui.view,arch_db:odex_takaful.makfuleen_report_pdf
@ -515,7 +534,7 @@ msgstr "لا يمكن أن تكون جهة الاتصال أسرة/مستفيد
#: code:addons/odex_takaful/models/account_move.py:0
#, python-format
msgid "A line of this move is using a deprecated account, you cannot post it."
msgstr ""
msgstr "يستخدم أحد بنود هذه الحركة حساباً متوقفاً، لا يمكنك ترحيلها."
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_donations_items__account_id
@ -921,6 +940,7 @@ msgid "Bail Receipts Number %s"
msgstr "مقبوضات الكفالة رقم %s"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__bank_id
#: model_terms:ir.ui.view,arch_db:odex_takaful.benefit_month_payment_report_pdf
#: model_terms:ir.ui.view,arch_db:odex_takaful.benefit_month_payment_share
msgid "Bank"
@ -1046,11 +1066,6 @@ msgstr "نوع المستفيدين في الشهادة"
msgid "Beneficiary"
msgstr "المستفيد"
#. module: odex_takaful
#: model:res.groups,name:odex_takaful.group_beneficiary_department_access
msgid "Beneficiary - Department Access"
msgstr "المستفيد - صلاحية القسم"
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form
msgid "Beneficiary Filters"
@ -1286,6 +1301,11 @@ msgstr "الفرع واليومية"
msgid "Branch Custom"
msgstr "فرع مخصص"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__branch_group_id
msgid "Branch Group"
msgstr "مجموعة الفروع"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__manager_id
#: model:res.groups,name:odex_takaful.branch_manager_group
@ -1312,7 +1332,7 @@ msgstr "الفروع المسموح بها"
#. module: odex_takaful
#: model:res.groups,name:odex_takaful.group_can_activate_sponsor
msgid "Can Activate Inactive Sponsors"
msgstr "إمكانية تفعيل الكفلاء غير النشطين"
msgstr "يمكن تفعيل الكفلاء غير النشطين"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_donations_details_lines__can_edit_benefit
@ -1483,6 +1503,12 @@ msgid ""
"\n"
"Please choose different beneficiaries for these lines before proceeding with the payment."
msgstr ""
"لا يمكن المتابعة في الدفع!\n"
"\n"
"البنود التالية تحتوي على مستفيدين مكفولين بالفعل من كفلاء آخرين:\n"
"البنود: %s\n"
"\n"
"يرجى اختيار مستفيدين آخرين لهذه البنود قبل المتابعة في الدفع."
#. module: odex_takaful
#: model:ir.model.fields.selection,name:odex_takaful.selection__account_payment_register__payment_method__cash
@ -2454,7 +2480,7 @@ msgstr "أدخل رقم جوال سعودي صحيح"
#: model:ir.model.fields,help:odex_takaful.field_res_config_settings__twilio_from_whatsapp
msgid ""
"Enter a valid phone number including country code. Example: +14155238886"
msgstr ""
msgstr "أدخل رقم هاتف صحيح يتضمن رمز الدولة. مثال: +14155238886"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_month_payment__entry_id
@ -2470,6 +2496,8 @@ msgid ""
"Error in replacement:\n"
"%s"
msgstr ""
"خطأ في الاستبدال:\n"
"%s"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_bank_statement_line__esterdad_id
@ -3376,6 +3404,11 @@ msgstr "نظام الكفلاء ونقاط البيع"
msgid "Kufula User"
msgstr "مستخدم الكفالات"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__last_digits
msgid "Last Digits"
msgstr "رقم الحساب"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_takaful_sponsorship__last_invoice_date
msgid "Last Invoice"
@ -3541,11 +3574,6 @@ msgstr "آخر تحديث بواسطة"
msgid "Last Updated on"
msgstr "آخر تحديث في"
#. module: odex_takaful
#: model:res.groups,comment:odex_takaful.group_beneficiary_department_access
msgid "Limits beneficiary records to user's department"
msgstr "يحدد سجلات المستفيدين بقسم المستخدم"
#. module: odex_takaful
#: model:res.groups,comment:odex_takaful.group_sponsor_department_access
msgid "Limits sponsor records to user's department"
@ -3591,6 +3619,11 @@ msgstr "معلومات الماكينة"
msgid "Machine Name"
msgstr "اسم الماكينة"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment__machine_reference
msgid "Machine Reference"
msgstr "رقم مرجع الماكينة"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_payment_machine__machine_type
#: model_terms:ir.ui.view,arch_db:odex_takaful.payment_machine_view_search
@ -4398,7 +4431,7 @@ msgstr "التمدد للكفالات النشطة فقط"
#, python-format
msgid ""
"Only donation with direct debit or sponsorship can be extended. Line: %s"
msgstr ""
msgstr "يمكن تمديد التبرعات ذات الاستقطاع المباشر أو الكفالة فقط. البند: %s"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_grant_benefit_invoice__operation_id
@ -4549,7 +4582,7 @@ msgstr "متأخر في سداد الكفالة بنسبة إجمالية %s"
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_view_search
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_sponsorship_scheduling_line_search
msgid "Paid"
msgstr "منتهي"
msgstr "تم السداد"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_donation_extension_wizard__paid_amount
@ -4714,6 +4747,7 @@ msgstr "فواتير المدفوعات"
#. module: odex_takaful
#: model:ir.model,name:odex_takaful.model_payment_machine
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment__machine_id
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__machine_id
#: model_terms:ir.ui.view,arch_db:odex_takaful.payment_machine_view_form
msgid "Payment Machine"
@ -4801,7 +4835,7 @@ msgstr "تقرير قسيمة الدفع"
#: model_terms:ir.actions.act_window,help:odex_takaful.action_payment_machine
msgid ""
"Payment machines are used to track POS terminals like Gidea, Neoleap, etc."
msgstr ""
msgstr "تُستخدم ماكينات الدفع لتتبع أجهزة نقاط البيع مثل جيديا ونيوليب وغيرها."
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
@ -4877,6 +4911,55 @@ msgstr "يرجى إضافة بند واحد على الأقل في تفاصيل
msgid "Please determine sponsorship."
msgstr "يرجى تحديد الكفالة."
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Bank and 4 Last Digits."
msgstr "يجب ادخال الينك و اخر اربعة ارقام"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Check Due Date."
msgstr "يجب ادخال تاريخ الاستحقاق"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Check Number."
msgstr "يجب ادخال رقم الشيك"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter File Attached."
msgstr "يجب رفع المستند المطلوب"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Machine."
msgstr "يجب إختيار الماكينة"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Partner Bank ID."
msgstr "يجب ادخال بنك المتبرع"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Payment Method."
msgstr "يجب ادخال طريقة الدفع"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter journal ID."
msgstr "يجب ادخال حساب الجمعية"
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.replace_sponsor_wizard_form
msgid "Please provide a reason for replacing the sponsor..."
@ -5066,6 +5149,17 @@ msgstr "رابط السجل"
msgid "Ref."
msgstr "المرجع"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__machine_reference
msgid "Reference Number"
msgstr "رقم المرجع"
#. module: odex_takaful
#: model:ir.model.fields,help:odex_takaful.field_account_payment__machine_reference
#: model:ir.model.fields,help:odex_takaful.field_account_payment_register__machine_reference
msgid "Reference number from the payment machine"
msgstr "رقم المرجع من ماكينة الدفع"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_refund_details_lines__journal_id
#: model:ir.model.fields,field_description:odex_takaful.field_refund_wiz__journal_id
@ -5567,6 +5661,10 @@ msgid ""
"Select 'Cash' or 'Bank' for journals that are used in customer or vendor payments.\n"
"Select 'General' for miscellaneous operations journals."
msgstr ""
"اختر 'مبيعات' ليوميات فواتير العملاء.\n"
"اختر 'مشتريات' ليوميات فواتير الموردين.\n"
"اختر 'نقدي' أو 'بنك' لليوميات المستخدمة في مدفوعات العملاء أو الموردين.\n"
"اختر 'عام' ليوميات العمليات المتنوعة."
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0
@ -6476,7 +6574,7 @@ msgstr "القيد %s (معرّف %s) تم ترحيله بالفعل."
msgid ""
"The field 'Customer' is required, please complete it to validate the "
"Customer Invoice."
msgstr ""
msgstr "حقل 'العميل' مطلوب، يرجى إكماله للتحقق من فاتورة العميل."
#. module: odex_takaful
#: code:addons/odex_takaful/models/account_move.py:0
@ -6484,7 +6582,7 @@ msgstr ""
msgid ""
"The field 'Vendor' is required, please complete it to validate the Vendor "
"Bill."
msgstr ""
msgstr "حقل 'المورد' مطلوب، يرجى إكماله للتحقق من فاتورة المورد."
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/transfer_deduction_wizard.py:0
@ -6492,7 +6590,7 @@ msgstr ""
msgid ""
"The library 'xlsxwriter' is not installed. Please install it: pip install "
"xlsxwriter"
msgstr ""
msgstr "مكتبة 'xlsxwriter' غير مثبتة. يرجى تثبيتها: pip install xlsxwriter"
#. module: odex_takaful
#: code:addons/odex_takaful/models/account_move.py:0
@ -6719,7 +6817,7 @@ msgstr "رمز مصادقة Twilio"
msgid ""
"Twilio configuration is missing. Please configure Twilio SID, Auth Token, "
"and WhatsApp number in General Configurations."
msgstr ""
msgstr "إعدادات Twilio غير موجودة. يرجى ضبط معرف Twilio ورمز المصادقة ورقم الواتساب في الإعدادات العامة."
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment__payment_method_line_id_type
@ -6812,6 +6910,11 @@ msgstr "عدد الرسائل الجديدة"
msgid "Unregistered Sponsor Name"
msgstr "اسم الكافل الغير مسجل بالنظام"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__show_last_digits
msgid "Use 4 Digits"
msgstr "استخدام اخر اربعة خانات"
#. module: odex_takaful
#: model:ir.model.fields,help:odex_takaful.field_takaful_push_notification__email
msgid "Used to log into the system"
@ -6982,6 +7085,11 @@ msgstr "إمرأة"
msgid "Yes"
msgstr "نعم"
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_account_payment_register_form
msgid "You Can Type 4 Digits"
msgstr "يمكنك إدخال آخر اربعة أرقام"
#. module: odex_takaful
#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0
#, python-format
@ -7000,7 +7108,7 @@ msgstr "لا يمكنك إضافة أكثر من كفالة واحدة"
msgid ""
"You cannot change the type of a sale quote line. Instead you should delete "
"the current line and create a new line of the proper type."
msgstr ""
msgstr "لا يمكنك تغيير نوع بند عرض المبيعات. بدلاً من ذلك، يجب حذف البند الحالي وإنشاء بند جديد من النوع المناسب."
#. module: odex_takaful
#: code:addons/odex_takaful/models/replacement_process.py:0
@ -7064,7 +7172,7 @@ msgstr ""
msgid ""
"You must select the same number of beneficiaries in the from benefits group "
"(%s) to the to benefits group (%s)"
msgstr ""
msgstr "يجب اختيار نفس عدد المستفيدين في مجموعة المستفيدين الأصلية (%s) ومجموعة المستفيدين البديلة (%s)"
#. module: odex_takaful
#: code:addons/odex_takaful/models/account_move.py:0
@ -7072,11 +7180,6 @@ msgstr ""
msgid "You need to add a line before posting."
msgstr "يجب إضافة سطر قبل الترحيل."
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "[رقم الكفالة:"
msgstr ""
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__charity_bank_id
#: model:ir.model.fields,field_description:odex_takaful.field_payment_details_lines__charity_journal_id
@ -7240,167 +7343,165 @@ msgstr "قسيمة الدفع"
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful
msgid "إضافة"
msgstr "إضافة"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful
msgid "إضافة منتج"
msgstr "إضافة منتج"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form
msgid "إنشاء مشترك"
msgstr "إنشاء مشترك"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "اسم الأرملة"
msgstr "اسم الأرملة"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "اسم الكافل"
msgstr "اسم الكافل"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form
msgid "اسم الكافل/المتبرع"
msgstr "اسم الكافل/المتبرع"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
msgid "اسم اليتيم"
msgstr "اسم اليتيم"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form
msgid "الاسم"
msgstr "الاسم"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "التأمينات الاجتماعية"
msgstr "التأمينات الاجتماعية"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "التقدير"
msgstr "التقدير"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "الجنسية"
msgstr "الجنسية"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "الحالة الصحية"
msgstr "الحالة الصحية"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "الراتب التقاعدي"
msgstr "الراتب التقاعدي"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "الضمان الاجتماعي"
msgstr "الضمان الاجتماعي"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form
msgid "العبارة الختامية"
msgstr "العبارة الختامية"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "العمر"
msgstr "العمر"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "الكمية"
msgstr "الكمية"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form
msgid "اللقب"
msgstr "اللقب"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "المبلغ"
msgstr "المبلغ"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "المجموع"
msgstr "المجموع"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "المرحلة الدراسية"
msgstr "المرحلة الدراسية"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid ""
"بكل امتنان نشكر لك تبرعك الكريم، ونسأل الله أن يجعلك ممن يرافقون النبي ﷺ في "
"الجنة."
msgid "بكل امتنان نشكر لك تبرعك الكريم، ونسأل الله أن يجعلك ممن يرافقون النبي"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_esterdad_wizard_form
msgid "بيانات المتبرع"
msgstr "بيانات المتبرع"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.donations_details_lines_view_tree_replace
msgid "تاريخ خروج المستفيد"
msgstr "تاريخ خروج المستفيد"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "تاريخ نهاية الكفالة"
msgstr "تاريخ نهاية الكفالة"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "تقرير أم اليتيم"
msgstr "تقرير أم اليتيم"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
msgid "تقرير اليتيم"
msgstr "تقرير اليتيم"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.product_template_view_kanban_odex_takaful
msgid "تقليل الكمية"
msgstr "تقليل الكمية"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "تم الالتحاق في إنسان عام"
msgstr "تم الالتحاق في إنسان عام"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "حالة الأسرة"
msgstr "حالة الأسرة"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
@ -7414,7 +7515,7 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "راتب الأم"
msgstr "راتب الأم"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
@ -7422,24 +7523,24 @@ msgstr "راتب الأم"
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form
msgid "رقم الجوال"
msgstr "رقم الجوال"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_mother_document
msgid "رقم الملف"
msgstr "رقم الملف"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_takaful_sponsor_form
msgid "طريقة التواصل المفضلة"
msgstr "طريقة التواصل المفضلة"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form
msgid "طلب الاسترداد"
msgstr "طلب الاسترداد"
msgstr ""
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_orphan_document
@ -7512,88 +7613,3 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:odex_takaful.report_sponsorship_receipt_document
msgid "ونتشرف دائما باستقبال عطائك المستمر لدعم أبنائكم الأيتام."
msgstr ""
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__machine_reference
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment__machine_reference
msgid "Reference Number"
msgstr "رقم المرجع"
#. module: odex_takaful
#: model:ir.model.fields,help:odex_takaful.field_account_payment_register__machine_reference
#: model:ir.model.fields,help:odex_takaful.field_account_payment__machine_reference
msgid "Reference number from the payment machine"
msgstr "رقم المرجع من ماكينة الدفع"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Bank and 4 Last Digits."
msgstr "يجب ادخال الينك و اخر اربعة ارقام"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Check Due Date."
msgstr "يجب ادخال تاريخ الاستحقاق"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Check Number."
msgstr "يجب ادخال رقم الشيك"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter File Attached."
msgstr "يجب ادخال المستند"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Machine."
msgstr "يجب ادخال الماكينة"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Partner Bank ID."
msgstr "يجب ادخال بنك المتبرع"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter Payment Method."
msgstr "يجب ادخال طريقة الدفع"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Please enter journal ID."
msgstr "يجب ادخال حساب الجمعية"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__bank_id
msgid "Bank"
msgstr "البنك"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__last_digits
msgid "Last Digits"
msgstr "رقم الحساب"
#. module: odex_takaful
#: model:ir.model.fields,field_description:odex_takaful.field_account_payment_register__show_last_digits
msgid "Use 4 Digits"
msgstr "استخدام اخر اربعة خانات"
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.view_account_payment_register_form
msgid "You Can Type 4 Digits"
msgstr "يمكنك كتابة اربعة خانات"

View File

@ -71,59 +71,110 @@
</div>
<div style="font-size: 1.5rem; color: #8F9090;">
<span style="font-weight: bold;">التاريخ: </span>
<span t-field="doc.sponsorship_creation_date"
t-options='{"format": "dd MMMM yyyy HH:mm"}'
dir="ltr"/>
<bdi style="display: inline-block; direction: rtl; unicode-bidi: embed;">
<span t-field="doc.sponsorship_creation_date"
t-options='{"format": "dd MMMM yyyy - HH:mm"}'/>
</bdi>
</div>
</div>
<!-- Lines table -->
<table class="table table-bordered" style="text-align: right;">
<thead>
<tr style="background-color: white;">
<th style="text-align: right; width: 50%; font-size: 1.5rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
<tr style="background-color: #f8f9fa;">
<th style="text-align: right; font-size: 1.4rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
نوع التبرع
</th>
<th style="text-align: center; width: 25%; font-size: 1.5rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
الكمية
<th style="text-align: center; font-size: 1.4rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
التفاصيل
</th>
<th style="text-align: center; width: 25%; font-size: 1.5rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
<!-- Duration column only for sponsorships -->
<t t-if="doc.record_type == 'sponsorship'">
<th style="text-align: center; font-size: 1.4rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
المدة
</th>
</t>
<th style="text-align: center; font-size: 1.4rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
المبلغ
</th>
</tr>
</thead>
<tbody>
<t t-set="lines_to_report" t-value="doc.donations_details_lines"/>
<t t-set="lines_to_report" t-value="doc.donations_details_lines + doc.donations_details_lines_mechanism_ids"/>
<t t-foreach="lines_to_report" t-as="line">
<t t-if="not line.display_type">
<tr>
<td style="text-align: right; padding: 8px; font-size: 1.5rem; color: #387F75; font-weight: bold;">
<span t-esc="line.with_context(lang='ar').product_template_id.name"/>
<!-- نوع التبرع -->
<td style="text-align: right; padding: 8px; font-size: 1.3rem; color: #387F75;">
<span t-esc="line.with_context(lang='ar_001').product_template_id.name or line.product_template_id.name"/>
</td>
<td style="text-align: center; padding: 8px; font-size: 1.5rem; color: #387F75; font-weight: bold;">
<span t-esc="line.donation_qty"
t-options='{"widget": "integer"}'/>
<!-- التفاصيل - dynamic based on type -->
<td style="text-align: center; padding: 8px; font-size: 1.3rem; color: #387F75;">
<!-- تبرع غير مشروط -->
<t t-if="doc.record_type == 'donation' and doc.donation_mechanism == 'without_conditions'">
العدد: <span t-esc="int(line.donation_qty)"/>
</t>
<!-- تبرع مشروط -->
<t t-elif="doc.record_type == 'donation' and doc.donation_mechanism == 'with_conditions'">
أسرة: <span t-esc="line.family_id.code or '-'"/>
</t>
<!-- كفالة -->
<t t-elif="doc.record_type == 'sponsorship'">
<span t-esc="(line.benefit_id.name or '').split()[0] if line.benefit_id else '-'"/> - <span t-esc="line.benefit_family_code or '-'"/>
<br/>
<small style="color: #8F9090;"><span t-esc="line.payment_month_count"/> شهر</small>
</t>
</td>
<td style="text-align: center; padding: 8px; font-size: 1.5rem; color: #387F75; font-weight: bold;">
<span t-esc="line.donation_amount"/>
<!-- المدة - only for sponsorships -->
<t t-if="doc.record_type == 'sponsorship'">
<td style="text-align: center; padding: 8px; font-size: 1.2rem; color: #387F75;">
<t t-if="line.start_date and line.end_date">
<span t-field="line.start_date" t-options='{"format": "dd/MM/yyyy"}'/>
<br/>إلى<br/>
<span t-field="line.end_date" t-options='{"format": "dd/MM/yyyy"}'/>
</t>
<t t-else="">-</t>
</td>
</t>
<!-- المبلغ -->
<td style="text-align: center; padding: 8px; font-size: 1.3rem; color: #387F75;">
<t t-set="amt" t-value="line.total_donation_amount"/>
<t t-if="amt == int(amt)">
<span t-esc="'{:,.0f}'.format(amt)"/> <span t-esc="line.currency_id.symbol"/>
</t>
<t t-else="">
<span t-esc="'{:,.2f}'.format(amt)"/> <span t-esc="line.currency_id.symbol"/>
</t>
</td>
</tr>
</t>
</t>
<!-- Summary Row: المجموع -->
<tr>
<td style="text-align: right; padding: 8px; font-size: 1.5rem; color: #6B6B6A; font-weight: bold;">
<tr style="background-color: #f8f9fa;">
<td style="text-align: right; padding: 8px; font-size: 1.4rem; color: #6B6B6A; font-weight: bold;">
<strong>المجموع:</strong>
</td>
<td style="text-align: center; padding: 8px;font-size: 1.5rem; color: #387F75; font-weight: bold;">
<strong>
<span t-esc="sum(line.donation_qty for line in lines_to_report if not line.display_type)"/>
</strong>
<td style="text-align: center; padding: 8px; font-size: 1.4rem; color: #387F75; font-weight: bold;">
<strong>-</strong>
</td>
<td style="text-align: center; padding: 8px; font-size: 1.5rem; color: #387F75; font-weight: bold;">
<t t-if="doc.record_type == 'sponsorship'">
<td style="text-align: center; padding: 8px; font-size: 1.4rem; color: #387F75; font-weight: bold;">
<strong>-</strong>
</td>
</t>
<td style="text-align: center; padding: 8px; font-size: 1.4rem; color: #387F75; font-weight: bold;">
<strong>
<span t-esc="doc.total_sponsorship_amount"/>
<t t-set="total_amt" t-value="doc.total_sponsorship_amount"/>
<t t-if="total_amt == int(total_amt)">
<span t-esc="'{:,.0f}'.format(total_amt)"/> <span t-esc="doc.currency_id.symbol"/>
</t>
<t t-else="">
<span t-esc="'{:,.2f}'.format(total_amt)"/> <span t-esc="doc.currency_id.symbol"/>
</t>
</strong>
</td>
</tr>
@ -135,11 +186,11 @@
<!-- Payments table: وسيلة الدفع والمبلغ -->
<table class="table table-bordered" style="text-align: right; margin-top: 12px;">
<thead>
<tr style="background-color: white;">
<th style="text-align: right; width: 75%; font-size: 1.5rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
<tr style="background-color: #f8f9fa;">
<th style="text-align: right; width: 75%; font-size: 1.4rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
وسيلة الدفع
</th>
<th style="text-align: center; width: 25%; font-size: 1.5rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
<th style="text-align: center; width: 25%; font-size: 1.4rem; padding: 8px; color: #6B6B6A; font-weight: bold;">
المبلغ
</th>
</tr>
@ -148,28 +199,40 @@
<t t-if="doc.payment_ids">
<t t-foreach="doc.payment_ids" t-as="pay">
<tr>
<td style="text-align: right; padding: 8px; font-size: 1.5rem; color: #387F75; font-weight: bold;">
<span t-esc="pay.payment_method_line_id.name or pay.payment_method_id.name"/>
<td style="text-align: right; padding: 8px; font-size: 1.3rem; color: #387F75;">
<span t-esc="pay.with_context(lang='ar').payment_method_line_id.name or pay.with_context(lang='ar').payment_method_id.name"/>
</td>
<td style="text-align: center; padding: 8px; font-size: 1.5rem; color: #387F75; font-weight: bold;">
<span t-esc="pay.amount"/>
<td style="text-align: center; padding: 8px; font-size: 1.3rem; color: #387F75;">
<t t-set="pay_amt" t-value="pay.amount"/>
<t t-if="pay_amt == int(pay_amt)">
<span t-esc="'{:,.0f}'.format(pay_amt)"/> <span t-esc="pay.currency_id.symbol"/>
</t>
<t t-else="">
<span t-esc="'{:,.2f}'.format(pay_amt)"/> <span t-esc="pay.currency_id.symbol"/>
</t>
</td>
</tr>
</t>
<tr>
<td style="text-align: right; padding: 8px; font-size: 1.5rem; color: #6B6B6A; font-weight: bold;">
<tr style="background-color: #f8f9fa;">
<td style="text-align: right; padding: 8px; font-size: 1.4rem; color: #6B6B6A; font-weight: bold;">
<strong>
<span style="margin-left: 10px;">الإجمالي:</span>
</strong>
</td>
<td style="text-align: center; padding: 8px; font-size: 1.5rem; color: #387F75; font-weight: bold;">
<span t-esc="doc.total_sponsorship_amount"/>
<td style="text-align: center; padding: 8px; font-size: 1.4rem; color: #387F75; font-weight: bold;">
<t t-set="final_amt" t-value="doc.total_sponsorship_amount"/>
<t t-if="final_amt == int(final_amt)">
<span t-esc="'{:,.0f}'.format(final_amt)"/> <span t-esc="doc.currency_id.symbol"/>
</t>
<t t-else="">
<span t-esc="'{:,.2f}'.format(final_amt)"/> <span t-esc="doc.currency_id.symbol"/>
</t>
</td>
</tr>
</t>
<t t-else="">
<tr>
<td colspan="2" style="text-align: center; padding: 8px; font-size: 1.5rem; color: #6B6B6A;">
<td colspan="2" style="text-align: center; padding: 8px; font-size: 1.3rem; color: #6B6B6A;">
<span>لا توجد دفعات</span>
</td>
</tr>

View File

@ -317,6 +317,8 @@ class AccountRegisterPayment(models.TransientModel):
if method == 'network':
if not self.machine_id:
errors.append(_("Please enter Machine."))
if not self.machine_reference:
errors.append(_("Please enter Reference Number."))
if errors:
raise ValidationError("\n".join(errors))

View File

@ -88,7 +88,7 @@
domain="[('branch_custom_id', '=', sponsorship_branch_id)]"
attrs="{'invisible': ['|', ('sponsorship_payment', '=', False), ('takaful_payment_method', '!=', 'network')]}"/>
<field name="machine_reference"
attrs="{'invisible': ['|', ('sponsorship_payment', '=', False), ('takaful_payment_method', '!=', 'network')]}"/>
attrs="{'invisible': ['|', ('sponsorship_payment', '=', False), ('takaful_payment_method', '!=', 'network')], 'required': [('sponsorship_payment', '=', True), ('takaful_payment_method', '=', 'network')]}"/>
</xpath>
<xpath expr="//field[@name='journal_id']" position="attributes">
@ -103,13 +103,13 @@
<field name="payment_method" invisible="1"/>
<field name="check_number" attrs="{'invisible': ['|', ('sponsorship_payment', '=', False), ('takaful_payment_method','!=','check')]}"/>
<field name="check_due_date" attrs="{'invisible': ['|', ('sponsorship_payment', '=', False), ('takaful_payment_method','!=','check')]}"/>
<field name="partner_bank_id" string="Donor Bank Account" options="{'skip_disable_quick_create': True}" context="{'form_view_ref': 'odex_takaful.res_partner_bank_view_form_quick_create', 'default_partner_id': context.get('force_sponsorship_line_partner_id')}" attrs="{'invisible': ['|',('sponsorship_payment', '=', False), ('takaful_payment_method','not in',['bank','check'])]}" create="1" edit="1"/>
<field name="partner_bank_id" string="Donor Bank Account" options="{'skip_disable_quick_create': True, 'no_quick_create': True}" context="{'form_view_ref': 'odex_takaful.res_partner_bank_view_form_quick_create', 'default_partner_id': context.get('force_sponsorship_line_partner_id')}" attrs="{'invisible': ['|',('sponsorship_payment', '=', False), ('takaful_payment_method','not in',['bank','check'])]}" create="1" edit="1"/>
<field name="show_last_digits" invisible="1"/>
<field name="last_digits"
attrs="{'invisible': [('show_last_digits', '=', False)]}" placeholder="You Can Type 4 Digits"/>
attrs="{'invisible': ['|', ('show_last_digits', '=', False), ('takaful_payment_method', '!=', 'bank')]}" placeholder="You Can Type 4 Digits"/>
<field name="bank_id"
attrs="{'invisible': [('show_last_digits', '=', False)]}"/>
attrs="{'invisible': ['|', ('show_last_digits', '=', False), ('takaful_payment_method', '!=', 'bank')]}"/>
<field name="transaction_file_attachment" widget="binary"
filename="transaction_attachment_file_name"