How to Remove HSN summary at the bottom of invoice
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
1627
Views
How to Remove HSN summary at the bottom of invoice
If you Are using Odoo 18 Community Edition Then Follow This steps.
- Enable Developer Mode.
- Navigate to "Settings / Technical / User Interface / Views" page.
- Search for "hsn summary" as "View Architecture" just like showing in below image

- We found only one Result with "View Name" as "l10n_in_report_invoice_document_inherit" in filter and open this view.
- Scroll Down to the code in the "Architecture" tab and find the below code and comment out.
<t t-if="hsn_summary">
<div name="l10n_in_hsn_summary" class="mt-3" style="page-break-inside: avoid;">
<h3>HSN Summary</h3>
<table class="table table-sm table-borderless col-6">
<thead>
<th>HSN/SAC</th>
<th class="text-end">Quantity</th>
<th class="text-end">Rate %</th>
<th class="text-end">Taxable Value</th>
<th class="text-end" t-if="hsn_summary['has_gst']">SGST</th>
<th class="text-end" t-if="hsn_summary['has_gst']">CGST</th>
<th class="text-end" t-if="hsn_summary['has_igst']">IGST</th>
<th class="text-end" t-if="hsn_summary['has_cess']">CESS</th>
</thead>
<tr t-foreach="hsn_summary['items']" t-as="item">
<td t-esc="item['l10n_in_hsn_code']"/>
<td class="text-end">
<span t-esc="item['quantity']"/>
<span t-if="hsn_summary['display_uom']">(<t t-esc="item['uom_name']"/>)</span>
</td>
<td class="text-end" t-esc="item['rate']"/>
<td class="text-end">
<span t-esc="item['amount_untaxed']" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
</td>
<td class="text-end" t-if="hsn_summary['has_gst']">
<span t-esc="item['tax_amount_sgst']" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
</td>
<td class="text-end" t-if="hsn_summary['has_gst']">
<span t-esc="item['tax_amount_cgst']" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
</td>
<td class="text-end" t-if="hsn_summary['has_igst']">
<span t-esc="item['tax_amount_igst']" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
</td>
<td class="text-end" t-if="hsn_summary['has_cess']">
<span t-esc="item['tax_amount_cess']" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
</td>
</tr>
</table>
</div>
</t>- Now Save the page and Check in the Invoice.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
Dec 25
|
1439 | ||
|
|
2
Dec 25
|
438 | ||
|
|
3
Dec 25
|
1586 | ||
|
|
0
Dec 25
|
4 | ||
|
|
1
Dec 25
|
1313 |
This is great thanks , have a small modification to this request :
We have multiple currency billing - INR and USD
1. if the currency of invoice is INR (Indian rupee) would like to display this HSN table else not have it on invoice for any other currency
2. If the current is INR, our default currency is set to USD so we have a table that displays order value , taxes and total again in the equivalent USD (from the INR value)
Want to get rid of this for INR orders!