Merge pull request #6351 from expsa/samir_aladawi_fix_esterdad

[FIX] odex_takaful
This commit is contained in:
SamirLADOUI-sa 2026-01-25 16:14:36 +01:00 committed by GitHub
commit 9e3d329f4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
<t t-call="web.html_container">
<!-- Get all extension history records for the same invoice -->
<t t-foreach="docs" t-as="o">
<t t-set="invoice_id" t-value="o.invoice_id"/>
<t t-set="sponsorship" t-value="o.donation_detail_id.sponsorship_mechanism_id"/>
<t t-set="invoice_id" t-value="o.invoice_id.sudo()"/>
<t t-set="sponsorship" t-value="o.donation_detail_id.sudo().sponsorship_mechanism_id"/>
<t t-if="sponsorship">
<!-- Reuse sale order header layout -->