Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions account_move_delivery_invoice/report/report_invoice_document.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<template
id="report_invoice_document_inherit_title"
inherit_id="account.report_invoice_document"
priority="99"
>
<xpath expr="//t[@t-set='layout_document_title']" position="after">
<t t-if="o.move_type in ('out_invoice', 'out_refund')">
Expand All @@ -18,15 +19,14 @@
</t>
</xpath>
<xpath expr="//th[@name='th_taxes']" position="attributes">
<attribute name="t-attf-class">
text-end
{{ ' d-none d-md-table-cell'
if report_type == 'html' or is_delivery_note
else '' }}
</attribute>
<attribute
name="t-attf-class"
>text-end {{ 'd-none d-md-table-cell' if report_type == 'html' or is_delivery_note else '' }}</attribute>
</xpath>
<xpath expr="//td[@name='td_taxes']" position="attributes">
<attribute name="t-if">not is_delivery_note</attribute>
<xpath expr="//span[@id='line_tax_ids']/.." position="attributes">
<attribute
name="t-attf-class"
>text-end {{ 'd-none d-md-table-cell' if is_delivery_note else '' }}</attribute>
</xpath>
<xpath expr="//div[@id='payment_term']" position="attributes">
<attribute name="t-if">not is_delivery_note</attribute>
Expand Down