From 3840c64e4357b82a4f6cb2a2ce81b283454576bc Mon Sep 17 00:00:00 2001 From: Vincent Van Rossem Date: Thu, 6 Jun 2024 11:45:01 +0200 Subject: [PATCH] [MIG] stock_move_value_report: Migration to 16.0 --- stock_move_value_report/README.rst | 12 +-- stock_move_value_report/__manifest__.py | 2 +- stock_move_value_report/readme/USAGE.rst | 2 +- .../report/stock_inventory_value_report.xml | 12 +-- .../report/stock_move_line_value_report.xml | 24 ++--- .../report/stock_picking_value_report.xml | 23 ++--- .../report/stock_scrap_value_report.xml | 16 ++-- .../report/stock_value_report.xml | 92 +++++++++++-------- .../static/description/index.html | 20 ++-- 9 files changed, 113 insertions(+), 90 deletions(-) diff --git a/stock_move_value_report/README.rst b/stock_move_value_report/README.rst index 4a26008..d3cee03 100644 --- a/stock_move_value_report/README.rst +++ b/stock_move_value_report/README.rst @@ -17,13 +17,13 @@ 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/15.0/stock_move_value_report + :target: https://github.com/OCA/stock-logistics-reporting/tree/16.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-15-0/stock-logistics-reporting-15-0-stock_move_value_report + :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_move_value_report :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/stock-logistics-reporting&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-reporting&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -58,7 +58,7 @@ Then: Or, you can either go to: - *Inventory > Reporting > Stock Moves*, or -- *Inventory > Reporting > Product Moves* +- *Inventory > Reporting > Moves History* Then: #. Select records to print. @@ -73,7 +73,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -106,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 af6cbc8..a0ebf1d 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": "15.0.1.0.0", + "version": "16.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/readme/USAGE.rst b/stock_move_value_report/readme/USAGE.rst index 8397830..efbdd15 100644 --- a/stock_move_value_report/readme/USAGE.rst +++ b/stock_move_value_report/readme/USAGE.rst @@ -17,7 +17,7 @@ Then: Or, you can either go to: - *Inventory > Reporting > Stock Moves*, or -- *Inventory > Reporting > Product Moves* +- *Inventory > Reporting > Moves History* Then: #. Select records to print. diff --git a/stock_move_value_report/report/stock_inventory_value_report.xml b/stock_move_value_report/report/stock_inventory_value_report.xml index d2670b9..283b989 100644 --- a/stock_move_value_report/report/stock_inventory_value_report.xml +++ b/stock_move_value_report/report/stock_inventory_value_report.xml @@ -12,21 +12,21 @@ - - - + + + - - - 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 6e98bfb..01fb7ee 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 @@ -10,31 +10,31 @@ /> - - - - - -
LocationStateDateLocationStateDate
+ + +
+ Product + Lot/Serial Number Quantity + Value + Subtotal
+ + @@ -56,7 +56,7 @@ - - - - - - - - + + - - - - diff --git a/stock_move_value_report/report/stock_scrap_value_report.xml b/stock_move_value_report/report/stock_scrap_value_report.xml index 6adf31f..8bd5ba7 100644 --- a/stock_move_value_report/report/stock_scrap_value_report.xml +++ b/stock_move_value_report/report/stock_scrap_value_report.xml @@ -10,25 +10,25 @@
@@ -44,8 +44,8 @@ - - + +
+ +
Total + Total operations value balance +
Delivery Address:
Warehouse Address:
Order (Origin)StateCommitment DateStateCommitment DateScheduled Date
+ + + +
- - + - - + + - - - -
LocationLocationSource DocumentStateDateStateDate
+ + + + diff --git a/stock_move_value_report/report/stock_value_report.xml b/stock_move_value_report/report/stock_value_report.xml index b421ae6..0e6e0ef 100644 --- a/stock_move_value_report/report/stock_value_report.xml +++ b/stock_move_value_report/report/stock_value_report.xml @@ -1,44 +1,64 @@ - + + Operations Cost Value Report + stock.move.line + qweb-pdf + stock_move_value_report.report_stock_move_line_value + stock_move_value_report.report_stock_move_line_value + + + report + - + + Operations Cost Value Report + stock.move + qweb-pdf + stock_move_value_report.report_stock_move_value + stock_move_value_report.report_stock_move_value + + + report + - + + Picking Operations Cost Value + stock.picking + qweb-pdf + stock_move_value_report.report_stock_picking_value + stock_move_value_report.report_stock_picking_value + + + report + - + + Scrap Operations Cost Value + stock.scrap + qweb-pdf + stock_move_value_report.report_stock_scrap_value + stock_move_value_report.report_stock_scrap_value + + + report + diff --git a/stock_move_value_report/static/description/index.html b/stock_move_value_report/static/description/index.html index fb368e4..a9fdb69 100644 --- a/stock_move_value_report/static/description/index.html +++ b/stock_move_value_report/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:ebbb67db7c58015f463e18ae628cdf358196fa2923d740ad689ae8af262fe164 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/stock-logistics-reporting Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/stock-logistics-reporting Translate me on Weblate Try me on Runboat

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

@@ -404,7 +404,7 @@ a picking, a scrap, an inventory or even a selection of moves or move lines.

Or, you can either go to:

  • Inventory > Reporting > Stock Moves, or
  • -
  • Inventory > Reporting > Product Moves
  • +
  • Inventory > Reporting > Moves History

Then: #. Select records to print. @@ -417,7 +417,7 @@ be obtained. Keep in mind: only “done” operations will show cost value.

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.

+feedback.

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

@@ -441,11 +441,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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.