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

Usage

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.

Credits

Authors

  • Tecnativa

Contributors

Maintainers

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 https://odoo-community.org/page/Contribute.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo13_addon_sale_layout_category_hide_detail-13.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_sale_layout_category_hide_detail-13.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2cea85d527eba9963d3fdf8d21f9b89e96c300cb41050cb8c7a37a1aea33558
MD5 e0dc4064c89748313f7744d8168695a5
BLAKE2b-256 57c8c077e6718442d5cf6a563448fa179244a7697e4eb39cfbf7a308d9b1713c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page