Skip to content

Commit 5e9b26b

Browse files
renda-devquirino95
authored andcommitted
[FIX] l10n_it_delivery_note: report adjustments
1 parent ec47f7e commit 5e9b26b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

l10n_it_delivery_note/report/report_delivery_note.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
Taxes
176176
</th>
177177
<th
178-
t-if="doc.company_id.display_total_in_dn_with_prices"
178+
t-if="doc.company_id.display_total_in_dn_with_prices and doc.print_prices"
179179
name="th_amount"
180180
class="text-right"
181181
>
@@ -259,7 +259,7 @@
259259
<span t-esc="taxes" />
260260
</td>
261261
<td
262-
t-if="doc.company_id.display_total_in_dn_with_prices"
262+
t-if="doc.company_id.display_total_in_dn_with_prices and doc.print_prices"
263263
name="td_amount"
264264
class="text-right"
265265
>
@@ -331,7 +331,11 @@
331331
</tbody>
332332
</table>
333333
<br />
334-
<div class="clearfix" name="so_total_summary">
334+
<div
335+
class="clearfix"
336+
name="so_total_summary"
337+
t-if="doc.company_id.display_total_in_dn_with_prices and doc.print_prices"
338+
>
335339
<div id="total" class="row" name="total">
336340
<div
337341
t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ml-auto"

0 commit comments

Comments
 (0)