Hide details for sections in sale orders and invoices for reports and customer portal
Project description
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:
Go to Sales -> Orders -> Quotations and create a new Quotation.
In Order lines tab add a section line.
Add some product lines.
Add another section line, but this time, click on the plus-circle icon on your right. That icon will be replaced by minus-circle icon . That mean Show subtotal field is set to False.
Add some product lines.
Add another section line and click on the eye icon on your right. That icon will be replaced by eye-slash icon . That mean Show details field is set to False.
Add some product lines.
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
Contributors
-
Ernesto Tejeda
Pedro M. Baeza
Maintainers
This module is maintained by the OCA.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo12_addon_sale_layout_category_hide_detail-12.0.1.1.2-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_sale_layout_category_hide_detail-12.0.1.1.2-py3-none-any.whl
- Upload date:
- Size: 42.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09d100c81195f9980ff6b3b6e9f8edefd0f1d0c785dd6aeeaf38d5a2b97dc677 |
|
MD5 | 778130c9f6df2b5efd25d20f082a0687 |
|
BLAKE2b-256 | e85f2a0c1d04f2718f2444afe93cbd65fce5e1c4c5a13e7e94081b63364e7807 |