Hide details for sections in sales orders and invoices for reports and customer portal
Project description
This module allows you to set a new ‘Hide details’ boolean field on True in Report Layout Categories if you want to hide its lines of Quotations / Sales Orders and Invoices in the PDF report and in the website.
Table of contents
Configuration
To configure this module, you need to:
Go to Sales -> Configuration -> Settings
Check Sections on Sales Orders option.
Go to Sales -> Configuration -> Sales Orders -> Report Layout Categories and configure the Report Layout Categories
Usage
To use this module, you need to:
Go to Sales -> Configuration -> Sales Orders -> Report Layout Categories.
Create a new Report Layout Category with Hide details field on True and create another one with Hide details field on False.
Notice when you check Hide details, Add subtotal is hidden. There’s no sense to not put subtotal when hiding details, so it doesn’t matter if you check the Add subtotal or not.
Go to Sales -> Orders -> Quotations and create a new Quotation.
Add to the Quotation some lines associated with the first Report Layout Category created before and add other lines associated with the second Report Layout Category created.
Print this Quotation. In the PDF report the section with Hide details field on True will be shown without its lines and with the subtotal.
Go to the Quotation in the customer portal. The section with Hide details field on True will be shown without its lines and with the subtotal.
The behavior described before is the same for Quotations and Invoices.
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 to smash 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 odoo11_addon_sale_layout_category_hide_detail-11.0.1.0.0.99.dev5-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo11_addon_sale_layout_category_hide_detail-11.0.1.0.0.99.dev5-py2.py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e67ea105906a28c2350bb0a851d03ae14d28fca4eaa6d54b287533423b0282fa |
|
MD5 | 9e64d4323314fb46af41b979fadc9949 |
|
BLAKE2b-256 | dcb3a34d023fe3b6adff515e61f4826006a8ecd4c9f3e69d1f21a907ca804bb5 |