From d3347239d72bf9b39c830a19ddbf43b644e57a94 Mon Sep 17 00:00:00 2001 From: "Luis D. Lafaurie" Date: Fri, 2 Sep 2022 12:51:42 +0200 Subject: [PATCH] [MIG] stock_move_value_report: Migration to 15.0 --- stock_move_value_report/README.rst | 61 ++++++++------ stock_move_value_report/__manifest__.py | 2 +- stock_move_value_report/i18n/es.po | 9 +-- stock_move_value_report/i18n/fr.po | 11 +-- stock_move_value_report/i18n/pt.po | 11 +-- .../i18n/stock_move_value_report.pot | 8 +- .../readme/DESCRIPTION.rst | 5 +- stock_move_value_report/readme/USAGE.rst | 33 +++++--- .../report/stock_move_line_value_report.xml | 39 +-------- .../report/stock_value_report.xml | 10 --- .../static/description/index.html | 81 ++++++++++--------- 11 files changed, 120 insertions(+), 150 deletions(-) diff --git a/stock_move_value_report/README.rst b/stock_move_value_report/README.rst index e222e06..4a26008 100644 --- a/stock_move_value_report/README.rst +++ b/stock_move_value_report/README.rst @@ -2,10 +2,13 @@ Stock Move Cost Value Report ============================ -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ebbb67db7c58015f463e18ae628cdf358196fa2923d740ad689ae8af262fe164 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,20 +17,19 @@ Stock Move Cost Value Report :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-reporting/tree/13.0/stock_move_value_report + :target: https://github.com/OCA/stock-logistics-reporting/tree/15.0/stock_move_value_report :alt: OCA/stock-logistics-reporting .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-13-0/stock-logistics-reporting-13-0-stock_move_value_report + :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-15-0/stock-logistics-reporting-15-0-stock_move_value_report :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/151/13.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-reporting&target_branch=15.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| -This module allows to obtain a report with the cost value of a given -operation set like a picking, a scrap, an inventory or even a selection of -moves or move lines. +This module allows to obtain a report with cost value of a given operation like +a picking, a scrap, an inventory or even a selection of moves or move lines. **Table of contents** @@ -37,30 +39,41 @@ moves or move lines. Usage ===== -To print the report you can either go to: +To print this report, you can go to: -- *Inventory > Transfrers* -- *Inventory > Inventory Adjustments* -- *Inventory > Scraps* -- *Inventory > Reporting > Stock Moves* +- *Inventory > Operations > Transfers* + +Then: +#. Select records to print. +#. And click on *Print > Picking Operations Cost Value* + +Or, you can go to: + +- *Inventory > Operations > Scrap* + +Then: +#. Select records to print. +#. And click on *Print > Scrap Operations Cost Value* + +Or, you can either go to: + +- *Inventory > Reporting > Stock Moves*, or - *Inventory > Reporting > Product Moves* -And then: - -#. Switch to list view. +Then: #. Select records to print. -#. And then *Print > Operations Cost Value Report* +#. And click on *Print > Operations Cost Value Report* -A pdf preport with the operations linked to these records and their cost will -be obtained. Keep in mind that only done operations will have a cost value. +A pdf report with operations linked to these records, and their cost, will +be obtained. Keep in mind: only "done" operations will show cost value. 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 `_. +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. @@ -93,6 +106,6 @@ 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/stock-logistics-reporting `_ project on GitHub. +This module is part of the `OCA/stock-logistics-reporting `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_move_value_report/__manifest__.py b/stock_move_value_report/__manifest__.py index 005e690..af6cbc8 100644 --- a/stock_move_value_report/__manifest__.py +++ b/stock_move_value_report/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Stock Move Cost Value Report", - "version": "13.0.1.0.0", + "version": "15.0.1.0.0", "category": "Warehouse", "website": "https://github.com/OCA/stock-logistics-reporting", "author": "Tecnativa, Odoo Community Association (OCA)", diff --git a/stock_move_value_report/i18n/es.po b/stock_move_value_report/i18n/es.po index 883fbdd..96c3769 100644 --- a/stock_move_value_report/i18n/es.po +++ b/stock_move_value_report/i18n/es.po @@ -107,15 +107,9 @@ msgstr "Valor" #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_inventory_value_document -#: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_move_value_document msgid "Inventory" msgstr "Inventario" -#. module: stock_move_value_report -#: model:ir.actions.report,name:stock_move_value_report.action_report_stock_inventory_value -msgid "Inventory Operations Cost Value" -msgstr "Valor de Coste de Operaciones de Iventario" - #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.stock_move_lines_value msgid "Lot/Serial Number" @@ -152,3 +146,6 @@ msgstr "Valor de Coste de Operaciones de Desecho" #: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_move_value_document msgid "Selected operations cost value" msgstr "Valor de Coste de Operaciones Seleccionadas" + +#~ msgid "Inventory Operations Cost Value" +#~ msgstr "Valor de Coste de Operaciones de Iventario" diff --git a/stock_move_value_report/i18n/fr.po b/stock_move_value_report/i18n/fr.po index f041115..681a424 100644 --- a/stock_move_value_report/i18n/fr.po +++ b/stock_move_value_report/i18n/fr.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * stock_move_value_report +# * stock_move_value_report # msgid "" msgstr "" @@ -107,15 +107,9 @@ msgstr "Valeur" #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_inventory_value_document -#: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_move_value_document msgid "Inventory" msgstr "Inventaire" -#. module: stock_move_value_report -#: model:ir.actions.report,name:stock_move_value_report.action_report_stock_inventory_value -msgid "Inventory Operations Cost Value" -msgstr "Valeur du coût des opérations d'inventaire" - #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.stock_move_lines_value msgid "Lot/Serial Number" @@ -152,3 +146,6 @@ msgstr "Valeur du coût des opérations de mise au rebut" #: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_move_value_document msgid "Selected operations cost value" msgstr "Valeur du coût des opérations sélectionnées" + +#~ msgid "Inventory Operations Cost Value" +#~ msgstr "Valeur du coût des opérations d'inventaire" diff --git a/stock_move_value_report/i18n/pt.po b/stock_move_value_report/i18n/pt.po index 3c6c4c5..0d7d137 100644 --- a/stock_move_value_report/i18n/pt.po +++ b/stock_move_value_report/i18n/pt.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * stock_move_value_report +# * stock_move_value_report # msgid "" msgstr "" @@ -107,15 +107,9 @@ msgstr "Valor" #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_inventory_value_document -#: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_move_value_document msgid "Inventory" msgstr "Inventário" -#. module: stock_move_value_report -#: model:ir.actions.report,name:stock_move_value_report.action_report_stock_inventory_value -msgid "Inventory Operations Cost Value" -msgstr "Custo das Operações de Inventário" - #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.stock_move_lines_value msgid "Lot/Serial Number" @@ -152,3 +146,6 @@ msgstr "Custo das Operações de Refugo" #: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_move_value_document msgid "Selected operations cost value" msgstr "Custo das operações selecionadas" + +#~ msgid "Inventory Operations Cost Value" +#~ msgstr "Custo das Operações de Inventário" diff --git a/stock_move_value_report/i18n/stock_move_value_report.pot b/stock_move_value_report/i18n/stock_move_value_report.pot index 96ef4e8..d1cd29e 100644 --- a/stock_move_value_report/i18n/stock_move_value_report.pot +++ b/stock_move_value_report/i18n/stock_move_value_report.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -104,15 +104,9 @@ msgstr "" #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_inventory_value_document -#: model_terms:ir.ui.view,arch_db:stock_move_value_report.report_stock_move_value_document msgid "Inventory" msgstr "" -#. module: stock_move_value_report -#: model:ir.actions.report,name:stock_move_value_report.action_report_stock_inventory_value -msgid "Inventory Operations Cost Value" -msgstr "" - #. module: stock_move_value_report #: model_terms:ir.ui.view,arch_db:stock_move_value_report.stock_move_lines_value msgid "Lot/Serial Number" diff --git a/stock_move_value_report/readme/DESCRIPTION.rst b/stock_move_value_report/readme/DESCRIPTION.rst index 82ac603..eab2f4c 100644 --- a/stock_move_value_report/readme/DESCRIPTION.rst +++ b/stock_move_value_report/readme/DESCRIPTION.rst @@ -1,3 +1,2 @@ -This module allows to obtain a report with the cost value of a given -operation set like a picking, a scrap, an inventory or even a selection of -moves or move lines. +This module allows to obtain a report with cost value of a given operation like +a picking, a scrap, an inventory or even a selection of moves or move lines. diff --git a/stock_move_value_report/readme/USAGE.rst b/stock_move_value_report/readme/USAGE.rst index 2262a16..8397830 100644 --- a/stock_move_value_report/readme/USAGE.rst +++ b/stock_move_value_report/readme/USAGE.rst @@ -1,16 +1,27 @@ -To print the report you can either go to: +To print this report, you can go to: -- *Inventory > Transfrers* -- *Inventory > Inventory Adjustments* -- *Inventory > Scraps* -- *Inventory > Reporting > Stock Moves* +- *Inventory > Operations > Transfers* + +Then: +#. Select records to print. +#. And click on *Print > Picking Operations Cost Value* + +Or, you can go to: + +- *Inventory > Operations > Scrap* + +Then: +#. Select records to print. +#. And click on *Print > Scrap Operations Cost Value* + +Or, you can either go to: + +- *Inventory > Reporting > Stock Moves*, or - *Inventory > Reporting > Product Moves* -And then: - -#. Switch to list view. +Then: #. Select records to print. -#. And then *Print > Operations Cost Value Report* +#. And click on *Print > Operations Cost Value Report* -A pdf preport with the operations linked to these records and their cost will -be obtained. Keep in mind that only done operations will have a cost value. +A pdf report with operations linked to these records, and their cost, will +be obtained. Keep in mind: only "done" operations will show cost value. diff --git a/stock_move_value_report/report/stock_move_line_value_report.xml b/stock_move_value_report/report/stock_move_line_value_report.xml index 19048dc..6e98bfb 100644 --- a/stock_move_value_report/report/stock_move_line_value_report.xml +++ b/stock_move_value_report/report/stock_move_line_value_report.xml @@ -128,10 +128,7 @@ t-set="ml_from_pickings" t-value="move_lines_ids.filtered('move_id.picking_id')" /> - + - - - - - -

[] Inventory :

- - - - - - - - - - - - diff --git a/stock_move_value_report/static/description/index.html b/stock_move_value_report/static/description/index.html index c5bf1b0..fb368e4 100644 --- a/stock_move_value_report/static/description/index.html +++ b/stock_move_value_report/static/description/index.html @@ -1,20 +1,20 @@ - + - + Stock Move Cost Value Report