Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5 Odpovědi
8288 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit

where to insert ?

Hi, where should I put that code?

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
TAX 15% Vyřešeno
1
dub 24
2590
2
čvc 25
522
1
srp 25
1332
1
čvn 24
2222
2
úno 23
2558