Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@
separator=" and "
/>
</xpath>
<xpath expr="//td[@name='td_priceunit']/span[@t-else]" position="attributes">
<attribute
name="t-if"
add="(not current_section or current_section.show_line_amount)"
separator=" and "
/>
</xpath>
<xpath expr="//td[@name='td_taxes']/span" position="attributes">
<attribute
name="t-if"
Expand All @@ -103,6 +110,13 @@
separator=" and "
/>
</xpath>
<xpath expr="//td[@name='td_subtotal']/span[@t-else]" position="attributes">
<attribute
name="t-if"
add="(not current_section or current_section.show_line_amount)"
separator=" and "
/>
</xpath>
<xpath expr="//td[@t-if='display_discount']/span" position="attributes">
<attribute
name="t-if"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@
separator=" and "
/>
</xpath>
<xpath expr="//span[@t-field='line.price_total']" position="attributes">
<attribute
name="t-if"
add="(not current_section or current_section.show_line_amount)"
separator=" and "
/>
</xpath>
<xpath
expr="//t[@t-foreach='lines_to_report']//span[contains(@t-out, 'line.tax_id')]"
position="attributes"
Expand Down
Loading