Skip to content

Commit

Permalink
[FIX] l10n_ar_tax: print payment reports without secondary currency
Browse files Browse the repository at this point in the history
closes #1046

Signed-off-by: Filoquin adhoc <[email protected]>
  • Loading branch information
jue-adhoc committed Feb 7, 2025
1 parent e4e1395 commit f191219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_ar_tax/views/report_payment_receipt_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<span class="text-nowrap" t-out="check.amount if o.other_currency else secondary_currency.round(check.amount * secondary_currency_rate)" t-options='{"widget": "monetary", "display_currency": secondary_currency}'/>
</td>
<td class="text-right o_price_total">
<span class="text-nowrap" t-out="check.amount * secondary_currency_rate if o.other_currency else o.company_currency_id.round(o.amount / secondary_currency_rate)" t-options='{"widget": "monetary", "display_currency": o.company_currency_id}'/>
<span class="text-nowrap" t-if="secondary_currency" t-out="check.amount * secondary_currency_rate if o.other_currency else o.company_currency_id.round(o.amount / secondary_currency_rate)" t-options='{"widget": "monetary", "display_currency": o.company_currency_id}'/>
</td>
</tr>
</t>
Expand Down

0 comments on commit f191219

Please sign in to comment.