Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to remove the Tax Code label in the invoice?

By
Tim
on 7/9/15, 3:53 PM 442 views

Hi, I'm trying to remove the tax code label in the invoice as shown in the picture (red circle) without success. Can somebody help me out?

[look like the images are not shown - editor must be broken. so i'm going to type what is shown in the images]

Tax                                                              Base        Amount

GST_CHILD_PURC - Purchase 5%            19.95 $    1.00 $

PST_CHILD_PURC - PST Purchase 7%     19.95 $    1.40 $

I want to remove the "GST_CHILD_PURC" and "PST_CHILD_PURC" labels. They are tax code. I just want to show the tax name labels.


Below is a snippet of codes from the report_invoice_document document, I believe this line (shown in bold) is responsible for tax code label. Is there a code to show just the tax name, not both tax code and name? Tax name is clean for invoice and not need to show ugly tax code line.

<table class="table table-condensed">

<thead>

<tr>

<th>Tax</th>

<th class="text-right">Base</th>

<th class="text-right">Amount</th>

</tr>

</thead>

<tbody>

<tr t-foreach="o.tax_line" t-as="t">

<td><span t-field="t.name"/></td>

<td class="text-right">

<span t-field="t.base" t-field-options="{"widget": "monetary", "display_currency": "o.currency_id"}"/>

</td>

<td class="text-right">

<span t-field="t.amount" t-field-options="{"widget": "monetary", "display_currency": "o.currency_id"}"/>

</td>

</tr>

</tbody>

</table>




 








Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/9/15, 3:53 PM
Seen: 442 times
Last updated: 7/9/15, 5:31 PM