Skip to content

Commit

Permalink
[REF] l10n_br_sale_hide_tax_report: change class to hasClass
Browse files Browse the repository at this point in the history
  • Loading branch information
kaynnan committed Apr 16, 2024
1 parent b931d20 commit 63ac89e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions l10n_br_sale_hide_tax_report/report/sale_report_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,28 @@
</xpath>
<!-- HIDDE COLUMN TH_TAXES -->
<xpath
expr="//table[@class='table table-sm o_main_table']/thead//th[@name='th_taxes']"
expr="//table[hasclass('table table-sm o_main_table')]/thead//th[@name='th_taxes']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- HIDDE COLUMN TD_TAXES -->
<xpath
expr="//table[@class='table table-sm o_main_table']/tbody//td[@name='td_taxes']"
expr="//table[hasclass('table table-sm o_main_table')]/tbody//td[@name='td_taxes']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- HIDDEN SPAN LINE.PRICE_SUBTOTAL (NO INCLUDE TAXES) -->
<xpath
expr="//table[@class='table table-sm o_main_table']/tbody//span[@t-field='line.price_subtotal']"
expr="//table[hasclass('table table-sm o_main_table')]/tbody//span[@t-field='line.price_subtotal']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- REMOVE GROUPS IN LINE.PRICE_TOTAL (INCLUDE TAXES) -->
<xpath
expr="//table[@class='table table-sm o_main_table']/tbody//span[@t-field='line.price_total']"
expr="//table[hasclass('table table-sm o_main_table')]/tbody//span[@t-field='line.price_total']"
position="attributes"
>
<attribute name="groups" />
Expand Down

0 comments on commit 63ac89e

Please sign in to comment.