Skip to content
Snippets Groups Projects
Commit a7531263 authored by baa's avatar baa
Browse files

[FIX] l10n_gcc_invoice: fix traceback on invoice when a section is present +...

[FIX] l10n_gcc_invoice: fix traceback on invoice when a section is present + fix arabic display on the section subtotal

having a section or a note on the invoice would trigger a traceback when printing the invoice for a GCC company. The arabic/english label inside that element would not display properly either

closes odoo/odoo#80293

Signed-off-by: default avatarFlorian Gilbert <flg@odoo.com>
parent 9a42ebf1
No related branches found
No related tags found
No related merge requests found
......@@ -300,10 +300,10 @@
</t>
</tr>
<t t-if="current_section and (line_last or lines[line+1].display_type == 'line_section')">
<t t-if="current_section and (line_last or lines[line_index+1].display_type == 'line_section')">
<tr class="is-subtotal text-right">
<td colspan="99">
<strong class="mr16">Subtotal/الإجمالي الفرعي</strong>
<strong class="mr16" style="display: inline-block">Subtotal/الإجمالي الفرعي</strong>
<span
t-esc="current_subtotal"
t-options='{"widget": "monetary", "display_currency": o.currency_id}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment