Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
5 Besvarelser
8015 Visninger

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
Kassér
Bedste svar

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
Kassér
Bedste svar

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
Kassér
Bedste svar

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
Kassér
Bedste svar

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
Kassér

where to insert ?

Hi, where should I put that code?

Bedste svar

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
TAX 15% Løst
1
apr. 24
2463
2
jul. 25
106
1
jun. 25
1221
1
jun. 24
2120
2
feb. 23
2376