OdooWiki OCA HUB

Sale order line hide tax in report

sale_order_report_hide_tax folder_open OCA/sale-reporting open_in_new
Sales License: LGPL-3

Hide taxes column in the quotation document that is sent to the customer. When all quotation lines have the same tax group, the Taxes column is automatically hidden to avoid displaying redundant information and to improve document clarity.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Automatically hides the Taxes column in the quotation and sale order PDF sent to customers when all lines share the same tax group, keeping the document cleaner.

This module changes the printed quotation and sale order document so that the Taxes column is only shown when it actually adds information.

  • On every sale order, Odoo now computes a hidden flag called show_tax_column_in_report. It looks at the real product lines (ignoring section and note lines) and compares the tax group of the first line with the tax group of every other line.
  • If all lines use the same tax group, the flag is false and the Taxes column is removed from the PDF report. If at least one line uses a different tax group, the column stays visible.
  • The change applies to the standard sale order report template report_saleorder_document, so it affects the quotation and sale order PDFs that are sent to customers.
  • No new menus, buttons or settings are added; the behaviour is automatic and requires no user action.
  • The module only touches the sale.order model and the sale order report template.

Depends on

sale
Models and fields (1)
  • sale.order · extends an existing modelshow_tax_column_in_report

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/sale-reporting.

terminal Installation and usage

OCA documentation · Odoo 19.0

Whenever the taxes are in the same group for the whole order the column won't be displayed.

The module performs the following validation:

  • It checks that all order lines have the same tax group.
  • It does not validate if the taxes within the same line are different.

Result:

  • If all tax groups are the same, the Taxes column is hidden in the printed or sent quotation.
  • If at least one line has a different tax group, the Taxes column is displayed as usual.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.