Skip to Content
Menu
This question has been flagged
5 Replies
6690 Views

Hi,


Is there a way to remove the Taxes column on the exported Quotation and Invoice PDF? We have a flat tax rate for all items and it already says what the tax is at the bottom of the page so it isn't necessary to have for every item.


Many thanks

Avatar
Discard
Best Answer

Hi,

You can inherit the report template and can modify the quotation and invoice print out as per the need. EIther it can be done using odoo studio(if enterprise user) or using the developer tools or from custom module.

Thanks

Avatar
Discard
Best Answer

You can use this module to hide taxes column on Quotation PDF https://apps.odoo.com/apps/modules/17.0/sale_hide_tax_columns/

And you can use this module to hide taxes column on Invoice PDF https://apps.odoo.com/apps/modules/17.0/account_hide_tax_columns/

Avatar
Discard
Best Answer

To remove the Taxes column on the exported Quotation and Invoice PDF in many systems, you may need to modify the template or report configuration. However, keep in mind that this process can vary based on the specific software or platform you're using. Here's a general guide:

  1. Access Report/Template Configuration:
    • Go to the settings or configuration section of your invoicing or quotation module.
    • Look for a section related to report templates or layouts.
  2. Locate PDF Template:
    • Find the specific template used for Quotations and Invoices.
    • This might be an HTML or XML template, depending on the system.
  3. Edit the Template:
    • Open the template for editing. This may be done within the system or through code if customization is allowed.
    • Search for the section that generates the Taxes column.
  4. Remove or Comment Out Relevant Code:
    • Remove or comment out the code responsible for generating the Taxes column.
    • In HTML, this might involve deleting or commenting out the relevant or elements.


Avatar
Discard
Best Answer

Hi,
Try this code:

<template id="report_invoice_document" inherit_id="account.report_invoice_document">

<xpath expr="//td[@name='td_taxes']" position="replace">

</xpath>

<xpath expr="//th[@name='th_taxes']" position="replace">

</xpath>

</template>



Hope it helps

Avatar
Discard

where to insert ?

Hi, where should I put that code?

Best Answer

From what template do you inherit? Where is the product table?

Avatar
Discard
Related Posts Replies Views Activity
TAX 15% Solved
1
Apr 24
1565
0
Dec 24
544
1
Jun 24
1444
2
Feb 23
1716
1
May 16
2705