OdooWiki OCA HUB

Sale layout category hide detail

sale_layout_category_hide_detail folder_open OCA/sale-reporting open_in_new
Sales Management License: AGPL-3

This module allows you to check/uncheck the new 'Show details' and 'Show subtotal' flags in Sale order section lines and Customer invoice section lines if you want to show or hide their lines or their subtotals in the PDF report and in the website. You can also show or hide the section subtotal and line amount by checking or unchecking the new 'Show section subtotal' and 'Show line amount' flags.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds eye-style toggle icons on section lines of sale orders and invoices so you can hide or show the section's detail lines, subtotals and line amounts in the PDF reports and the customer portal.

On every section line of a sale order or a customer invoice you get four small toggle icons that control how that section is printed.

  • The eye icon decides whether the lines belonging to the section are shown at all. When details are hidden, only the section title (and optionally its subtotal) appears.
  • The plus/minus icon shows or hides the section subtotal.
  • The envelope icon shows or hides the section subtotal when the details are hidden.
  • The dollar icon shows or hides the unit price, taxes, discount and line amount of the products inside the section.

These icons appear in the order lines and invoice lines lists, in the mobile card view, and in the pop-up form used to edit a section line. They are only editable while the document is still in draft; once the order or invoice is confirmed they become read-only.

When a sale order is turned into an invoice, the same choices are copied onto the invoice lines, so the invoice PDF keeps the same presentation. The settings are applied to the sale order PDF, the invoice PDF and the customer portal page of the sale order. All four flags default to on, so nothing changes until you switch one off.

Depends on

sale_management

Required by other modules

Models and fields (2)
  • sale.order.line · extends an existing modelshow_details, show_subtotal, show_line_amount, show_section_subtotal
  • account.move.line · extends an existing modelshow_details, show_subtotal, show_line_amount, show_section_subtotal

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 17.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

The flags on the right hand side of the sale order line allow you to show or hide details, subtotal, line amount and section subtotal.

These are the possible combinations:

And these are the results in report:

The behavior described before is the same for Quotations and Invoices.

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.