Skip to main content

Hide details for sections in sale orders and invoices for reports and customer portal

Project description

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runbot

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.

Table of contents


To use this module, you need to:

  1. Go to Sales -> Orders -> Quotations and create a new Quotation.
  2. In Order lines tab add a section line.
  3. Add some product lines.
  4. Add another section line, but this time, click on the plus-circle icon plus-circle icon on your right. That icon will be replaced by minus-circle icon minus-circle icon. That mean Show subtotal field is set to False.
  5. Add some product lines.
  6. Add another section line and click on the eye icon plus-circle icon on your right. That icon will be replaced by eye-slash icon minus-circle icon. That mean Show details field is set to False.
  7. Add some product lines.
  8. Print a Quotation / Order report for this quotation.

After following the steps described above, in the report you will see the following:

  • The first ‘line section’ and its product order lines will be shown in a normal way.
  • The second ‘line section’ and its product order lines will be shown in a normal way, but the subtotal won’t be shown. That is because in this section line Show subtotal field was set to False.
  • The third ‘line section’ will show the name on the left and the subtotal on the right. Besides, its product order lines won’t be shown. That is because in this line Show details field was set to False.

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

Known issues / Roadmap

  • The boolean_fa_icon widget has not been extracted to a module into OCA/web because until now this widget has not been needed for anything else, but it’s good that in the future that would be done.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Tecnativa



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/sale-reporting project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo13-addon-sale-layout-category-hide-detail, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo13_addon_sale_layout_category_hide_detail- (41.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page