Skip to Content
Menu
This question has been flagged
3 Replies
3068 Views

Hello everyone,


Is there a way to remove the sales description and Taxes column on the exported Invoice PDF? When I make an invoice and send it, the sales description is added in pdf, which makes the invoice messy. Also, we do not have to include taxes on products in our invoice so it is not necessary for us to include that column. Is there any way to remove it 


Odoo 17.00 FREE VERSION


Many thanks


Avatar
Discard
Best Answer

Hi,

To remove the description and  taxes from the invoice report layout you need to inherit the original XML template of the invoice


1. First you need to locate the actual template from the addons

2. Inherit the template in your custom module

3. Remove the data of description and tax from the template.

4. Run the module


Please refer to the below blog to get an idea of the inheritance of the XML Template

https://www.cybrosys.com/blog/an-overview-of-template-inheritance-in-odoo-16

Regards

Avatar
Discard

Even if you don't like this AI generated answer it is the best one and it is the real solution. What you are asking for is only possible via XML edit.
And there is no such thing as Odoo 17.00 FREE VERSION, you are either referring to Odoo 17 Community Editon (self hosted self suported) or Odoo 17 Enterprise Free Plan.

Best Answer

You can use this module to hide taxes column on Sales 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

The invoice template is located in C:\Program Files\Odoo 17.0.20240307\server\odoo\addons\account\views\report_invoice.xml (Line 116)

If you also want to remove the tax column from the quotation, for the preview, it's in C:\Program Files\Odoo 17.0.20240307\server\odoo\addons\sale\views\sale_portal_templates.xml (line 552)\

and the PDF is "C:\Program Files\Odoo 17.0.20240307\server\odoo\addons\sale\report\ir_actions_report_templates.xml"

Took forever for me to find it, but in the end I was able to remove the taxes column. Make sure you click "Upgrade" on the relevant module (which is "invoicing" for all of these) after making any changes to the templates.

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 23
2618
4
May 22
2592
6
Mar 22
8992
1
Mar 15
7586
0
Mar 15
3638