Merge pull request #5292 from expsa/replacemet

FIX translation takaful
This commit is contained in:
NossibaElhadi 2025-11-09 13:54:32 +03:00 committed by GitHub
commit 3ba6ebee43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 3 deletions

View File

@ -7383,6 +7383,24 @@ msgstr "حالة المستفيد"
msgid "To Replace"
msgstr "للاستبدال"
#. module: odex_takaful
#: model_terms:ir.ui.view,arch_db:odex_takaful.takaful_sponsorship_form
msgid "Reset to Draft"
msgstr "إعادة التعيين لحالة مسودة"
#. module: odex_takaful
#: code:addons/odex_takaful/models/takaful_sponorship_model.py:0
#, python-format
msgid "You can only reset to draft a confirmed sponsorship."
msgstr "يمكنك الارسال الى مسودة للتبرعات المؤكدة فقط"
#. module: odex_takaful
#: code:addons/odex_takaful/wizards/account_payment_register.py:0
#, python-format
msgid "Payment registered successfully"
msgstr "تمت عملية الدفع بنجاح"

View File

@ -39,12 +39,13 @@
<button name="action_confirm_data" type="object"
string="Confirm Data" class="oe_highlight"
attrs="{'invisible': ['|','|', ('state','!=','draft'), ('id','=',False), '&amp;',('sponsor_or_donor_type','=','new_sponsor'),('sponsor_id','=',False)]}"/>
<button name="action_reset_to_draft" type="object"
string="Reset to Draft" class="oe_highlight"
attrs="{'invisible': [('state','!=','confirmed')]}"/>
<button string="Pay All Sponsorships" name="action_register_payment" type="object"
class="oe_highlight"
attrs="{'invisible': ['|', ('state', 'not in', ['confirmed', 'wait_pay','under_replacement','replacement_done']), ('show_register_payment', '=', False)]}"/>
<button name="action_reset_to_draft" type="object"
string="Reset to Draft" class="btn-link"
attrs="{'invisible': [('state','!=','confirmed')]}"/>
<button name="action_set_cancel" type="object"
string="To Cancel" class="oe_highlight"
attrs="{'invisible': [('state','not in',['confirmed'])]}"/>