Metadata-Version: 2.1
Name: odoo-addon-sale_layout_category_hide_detail
Version: 16.0.1.1.2
Summary: Hide details for sections in sale orders and invoices for reports and customer portal
Home-page: https://github.com/OCA/sale-reporting
Author: Tecnativa, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 16.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.10
Requires-Dist: odoo<16.1dev,>=16.0a

================================
Sale layout category hide detail
================================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:3a2fb40120a702ad60a8530bcfd4c78296b24c1f62c347e332b0fac6d2f76c3b
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github
    :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_layout_category_hide_detail
    :alt: OCA/sale-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_layout_category_hide_detail
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

**Table of contents**

.. contents::
   :local:

Usage
=====

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:

.. image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/order.png
  :alt: Possible combinations

And these are the results in report:

.. image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/report.png
  :alt: Possible combination results in report

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

.. |eye-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/eye.png
   :alt: plus-circle icon
   :width: 12 px

.. |eye-slash-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/eye-slash.png
   :alt: minus-circle icon
   :width: 12 px

.. |plus-circle-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/plus-circle.png
   :alt: plus-circle icon
   :width: 12 px

.. |minus-circle-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/minus-circle.png
   :alt: minus-circle icon
   :width: 12 px

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 <https://github.com/OCA/sale-reporting/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 <https://github.com/OCA/sale-reporting/issues/new?body=module:%20sale_layout_category_hide_detail%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

  * Ernesto Tejeda
  * Pedro M. Baeza
  * Víctor Martínez
  * Yadier Quesada

* Denis Roussel <denis.roussel@acsone.eu>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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 <https://github.com/OCA/sale-reporting/tree/16.0/sale_layout_category_hide_detail>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
