-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by yvaucher
- Loading branch information
Showing
33 changed files
with
1,866 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
================================ | ||
Sale layout category hide detail | ||
================================ | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:0d153ad4919145d5c976bbfabb0e81a1bfc44a49bff302821560ef08829cdd1a | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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/17.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-17-0/sale-reporting-17-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=17.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: | ||
|
||
|Possible combinations| | ||
|
||
And these are the results in report: | ||
|
||
|Possible combination results in report| | ||
|
||
The behavior described before is the same for Quotations and Invoices. | ||
|
||
.. |Possible combinations| image:: https://raw.githubusercontent.com/OCA/sale-reporting/17.0/sale_layout_category_hide_detail/static/description/readme-icons/order.png | ||
.. |Possible combination results in report| image:: https://raw.githubusercontent.com/OCA/sale-reporting/17.0/sale_layout_category_hide_detail/static/description/readme-icons/report.png | ||
|
||
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:%2017.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 <[email protected]> | ||
- Jeroen Evens <[email protected]> | ||
- Tris Doan <[email protected]> | ||
|
||
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/17.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 2018-2019 Tecnativa - Ernesto Tejeda | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Sale layout category hide detail", | ||
"summary": "Hide details for sections in sale orders and invoices for " | ||
"reports and customer portal", | ||
"version": "17.0.1.0.0", | ||
"category": "Sales Management", | ||
"website": "https://github.com/OCA/sale-reporting", | ||
"author": "Tecnativa, " "Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"depends": ["sale_management"], | ||
"data": [ | ||
"views/account_move_view.xml", | ||
"views/invoice_report_templates.xml", | ||
"views/sale_views.xml", | ||
"views/sale_order_report_templates.xml", | ||
"views/sale_portal_templates.xml", | ||
], | ||
"assets": { | ||
"web.assets_backend": [ | ||
"sale_layout_category_hide_detail/static/src/js/**", | ||
"sale_layout_category_hide_detail/static/src/xml/*.xml", | ||
], | ||
}, | ||
"application": False, | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_layout_category_hide_detail | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 12.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2019-08-12 14:31+0000\n" | ||
"PO-Revision-Date: 2023-09-03 13:40+0000\n" | ||
"Last-Translator: Ivorra78 <[email protected]>\n" | ||
"Language-Team: \n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line | ||
msgid "Journal Item" | ||
msgstr "Apunte contable" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line | ||
msgid "Sales Order Line" | ||
msgstr "Línea de pedido de venta" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details | ||
msgid "Show Details" | ||
msgstr "Mostrar Detalles" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount | ||
msgid "Show Line Amount" | ||
msgstr "Mostrar el Importe de la Línea" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal | ||
msgid "Show Section Subtotal" | ||
msgstr "Mostrar subtotal de la sección" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal | ||
msgid "Show Subtotal" | ||
msgstr "Mostrar Subtotal" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail | ||
#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail | ||
msgid "Subtotal" | ||
msgstr "Subtotal" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#. odoo-javascript | ||
#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 | ||
#, python-format | ||
msgid "Switch to: details hidden" | ||
msgstr "Cambiar a: detalles ocultos" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#. odoo-javascript | ||
#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 | ||
#, python-format | ||
msgid "Switch to: details shown" | ||
msgstr "Cambiar a: detalles mostrados" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#. odoo-javascript | ||
#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 | ||
#, python-format | ||
msgid "Toggle" | ||
msgstr "Alternar" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal | ||
#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal | ||
msgid "Uncheck this if you want to hide the subtotal on section part" | ||
msgstr "" | ||
"Desmarque esta opción si desea ocultar el subtotal en la parte de la sección" | ||
|
||
#, python-format | ||
#~ msgid "Click to check" | ||
#~ msgstr "Click para marcar" | ||
|
||
#, python-format | ||
#~ msgid "Click to uncheck" | ||
#~ msgstr "Click para desmarcar" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: subtotal hidden" | ||
#~ msgstr "Cambiar a: subtotal oculto" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: subtotal shown" | ||
#~ msgstr "Cambiar a: subtotal mostrado" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: line amount hidden" | ||
#~ msgstr "Cambiar a: cantidad de línea oculta" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: line amount shown" | ||
#~ msgstr "Cambiar a: cantidad de linea mostrado" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: section subtotal hidden" | ||
#~ msgstr "Cambiar a: seccion subtotal oculto" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: section subtotal shown" | ||
#~ msgstr "Cambiar a: se muestra el subtotal de la sección" | ||
|
||
#~ msgid "Show details" | ||
#~ msgstr "Mostrar detalles" | ||
|
||
#~ msgid "Show subtotal" | ||
#~ msgstr "Mostrar subtotal" | ||
|
||
#~ msgid "Invoice Line" | ||
#~ msgstr "Linea de factura" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * sale_layout_category_hide_detail | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-12-06 17:34+0000\n" | ||
"Last-Translator: mymage <[email protected]>\n" | ||
"Language-Team: none\n" | ||
"Language: it\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 4.17\n" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line | ||
msgid "Journal Item" | ||
msgstr "Movimento contabile" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line | ||
msgid "Sales Order Line" | ||
msgstr "Riga ordine di vendita" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details | ||
msgid "Show Details" | ||
msgstr "Mostra dettagli" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount | ||
msgid "Show Line Amount" | ||
msgstr "Mostra importo riga" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal | ||
msgid "Show Section Subtotal" | ||
msgstr "Mostra subtotale sezione" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal | ||
#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal | ||
msgid "Show Subtotal" | ||
msgstr "Mostra subtotale" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail | ||
#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail | ||
msgid "Subtotal" | ||
msgstr "Subtotale" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#. odoo-javascript | ||
#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 | ||
#, python-format | ||
msgid "Switch to: details hidden" | ||
msgstr "Passa a: nascondi dettagli" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#. odoo-javascript | ||
#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 | ||
#, python-format | ||
msgid "Switch to: details shown" | ||
msgstr "Passa a: mostra dettagli" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#. odoo-javascript | ||
#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 | ||
#, python-format | ||
msgid "Toggle" | ||
msgstr "Inverti" | ||
|
||
#. module: sale_layout_category_hide_detail | ||
#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal | ||
#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal | ||
msgid "Uncheck this if you want to hide the subtotal on section part" | ||
msgstr "Disabilita se vuoi nascondere il subtotale della sezione" | ||
|
||
#, python-format | ||
#~ msgid "Click to check" | ||
#~ msgstr "Click per abilitare" | ||
|
||
#, python-format | ||
#~ msgid "Click to uncheck" | ||
#~ msgstr "Click per disabilitare" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: subtotal hidden" | ||
#~ msgstr "Passa a: nascondi subtotale" | ||
|
||
#, python-format | ||
#~ msgid "Switch to: subtotal shown" | ||
#~ msgstr "Passa a: mostra subtotale" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Nome visualizzato" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Ultima modifica il" | ||
|
||
#~ msgid "Show details" | ||
#~ msgstr "Mostra dettagli" | ||
|
||
#~ msgid "Show line amount" | ||
#~ msgstr "Mostra importo riga" | ||
|
||
#~ msgid "Show subtotal" | ||
#~ msgstr "Mostra subtotale" |
Oops, something went wrong.