From f0f026ead9b203dec5a7fc97fe500133a2f7499f Mon Sep 17 00:00:00 2001 From: Nossibaelhadi Date: Wed, 19 Nov 2025 00:45:09 +0300 Subject: [PATCH] [FIX] replacement and extend process from donation --- odex25_ensan/odex_takaful/i18n/ar_001.po | 7 ++++++- .../odex_takaful/wizards/donation_extension_wizard.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/odex25_ensan/odex_takaful/i18n/ar_001.po b/odex25_ensan/odex_takaful/i18n/ar_001.po index 32cb4cf22..74c96adec 100644 --- a/odex25_ensan/odex_takaful/i18n/ar_001.po +++ b/odex25_ensan/odex_takaful/i18n/ar_001.po @@ -7552,4 +7552,9 @@ msgstr "طرف دفع متعددة" #. module: odex_takaful #: model_terms:ir.ui.view,arch_db:odex_takaful.view_account_payment_register_form msgid "Association Journal" -msgstr "حساب الجمعية" \ No newline at end of file +msgstr "حساب الجمعية" + +#. module: odex_takaful +#: model_terms:ir.ui.view,arch_db:odex_takaful.donation_extension_wizard_form +msgid "Sub Payments" +msgstr "دفع متعدد" \ No newline at end of file diff --git a/odex25_ensan/odex_takaful/wizards/donation_extension_wizard.py b/odex25_ensan/odex_takaful/wizards/donation_extension_wizard.py index 848f8317c..544aef59f 100644 --- a/odex25_ensan/odex_takaful/wizards/donation_extension_wizard.py +++ b/odex25_ensan/odex_takaful/wizards/donation_extension_wizard.py @@ -141,7 +141,7 @@ class DonationExtensionWizard(models.TransientModel): payment_register = self.env['account.payment.register'].sudo().with_context(ctx).new( payment_register_vals) - payments = payment_register._create_payments() + payments = payment_register.action_create_payments() inv_sudo = inv.sudo() inv_sudo.invalidate_cache(['amount_residual'])