Skip to content

Commit 01fcf5e

Browse files
author
osoto
committed
[MIG] stock_inventory_valuation_report: Migration to 18.0
1 parent 8874308 commit 01fcf5e

18 files changed

Lines changed: 552 additions & 253 deletions

eslint.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const config = [{
194194
},
195195

196196
}, {
197-
files: ["**/*.esm.js", "**/*test.js"],
197+
files: ["**/*.esm.js", "**/*test.js", "**/static/src/**/*.js"],
198198

199199
languageOptions: {
200200
ecmaVersion: 2024,
Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://odoo-community.org/readme-banner-image
2-
:target: https://odoo-community.org/get-involved?utm_source=readme
3-
:alt: Odoo Community Association
4-
51
================================
62
Stock Inventory Valuation Report
73
================================
@@ -17,22 +13,23 @@ Stock Inventory Valuation Report
1713
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1814
:target: https://odoo-community.org/page/development-status
1915
:alt: Beta
20-
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
2117
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2218
:alt: License: AGPL-3
2319
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--reporting-lightgray.png?logo=github
24-
:target: https://github.com/OCA/stock-logistics-reporting/tree/14.0/stock_inventory_valuation_report
20+
:target: https://github.com/OCA/stock-logistics-reporting/tree/18.0/stock_inventory_valuation_report
2521
:alt: OCA/stock-logistics-reporting
2622
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/stock-logistics-reporting-14-0/stock-logistics-reporting-14-0-stock_inventory_valuation_report
23+
:target: https://translation.odoo-community.org/projects/stock-logistics-reporting-18-0/stock-logistics-reporting-18-0-stock_inventory_valuation_report
2824
:alt: Translate me on Weblate
2925
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-reporting&target_branch=14.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-reporting&target_branch=18.0
3127
:alt: Try me on Runboat
3228

3329
|badge1| |badge2| |badge3| |badge4| |badge5|
3430

35-
Stock Inventory Valuation Report is the report that display value of all products in internal location.
31+
Stock Inventory Valuation Report is the report that display value of all
32+
products in internal location.
3633

3734
**Table of contents**
3835

@@ -44,41 +41,48 @@ Usage
4441

4542
To use this module, you need to:
4643

47-
#. Go to Inventory > Reporting > Inventory Valuation.
48-
#. Select Inventory At Date.
49-
#. You can now choose a few additional options: "View report", "Export PDF" and "Export XLSX".
44+
1. Go to Inventory > Reporting > Inventory Valuation.
45+
2. Select Inventory At Date.
46+
3. You can now choose a few additional options: "View report", "Export
47+
PDF" and "Export XLSX".
5048

5149
Bug Tracker
5250
===========
5351

5452
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-reporting/issues>`_.
5553
In case of trouble, please check there if your issue has already been reported.
5654
If you spotted it first, help us to smash it by providing a detailed and welcomed
57-
`feedback <https://github.com/OCA/stock-logistics-reporting/issues/new?body=module:%20stock_inventory_valuation_report%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
55+
`feedback <https://github.com/OCA/stock-logistics-reporting/issues/new?body=module:%20stock_inventory_valuation_report%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5856

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

6159
Credits
6260
=======
6361

6462
Authors
65-
~~~~~~~
63+
-------
6664

6765
* Ecosoft
6866

6967
Contributors
70-
~~~~~~~~~~~~
68+
------------
69+
70+
- `Pimolnat Suntian <pimolnats@ecosoft.co.th>`__
71+
72+
- `Ooops404 <https://ooops404.com>`__
73+
74+
- `Francesco Foresti <francesco.foresti@ooops404.com>`__
75+
76+
- `Cetmix <https://cetmix.com>`__
77+
78+
- `Andrey Solodovnikov <andrejsolodovnikov@gmail.com>`__
79+
80+
- `PyTech SRL <https://www.pytech.it>`__
7181

72-
* `Pimolnat Suntian <pimolnats@ecosoft.co.th>`_
73-
* `Ooops404 <https://ooops404.com>`_
74-
* `Francesco Foresti <francesco.foresti@ooops404.com>`_
75-
* `Cetmix <https://cetmix.com>`_
76-
* `Andrey Solodovnikov <andrejsolodovnikov@gmail.com>`_
77-
* `PyTech SRL <https://www.pytech.it>`_
78-
* `Alessandro Uffreduzzi <alessandro.uffreduzzi@pytech.it>`_
82+
- `Alessandro Uffreduzzi <alessandro.uffreduzzi@pytech.it>`__
7983

8084
Maintainers
81-
~~~~~~~~~~~
85+
-----------
8286

8387
This module is maintained by the OCA.
8488

@@ -90,6 +94,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9094
mission is to support the collaborative development of Odoo features and
9195
promote its widespread use.
9296

93-
This module is part of the `OCA/stock-logistics-reporting <https://github.com/OCA/stock-logistics-reporting/tree/14.0/stock_inventory_valuation_report>`_ project on GitHub.
97+
This module is part of the `OCA/stock-logistics-reporting <https://github.com/OCA/stock-logistics-reporting/tree/18.0/stock_inventory_valuation_report>`_ project on GitHub.
9498

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

stock_inventory_valuation_report/__manifest__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"name": "Stock Inventory Valuation Report",
66
"summary": "Add report button on Inventory Valuation.",
7-
"version": "14.0.1.0.1",
7+
"version": "18.0.1.0.0",
88
"category": "Warehouse",
99
"website": "https://github.com/OCA/stock-logistics-reporting",
1010
"author": "Ecosoft,Odoo Community Association (OCA)",
@@ -19,5 +19,12 @@
1919
"reports/stock_inventory_valuation_report.xml",
2020
"wizard/stock_quantity_history_view.xml",
2121
],
22+
"assets": {
23+
"web.assets_backend": [
24+
"stock_inventory_valuation_report/static/src/css/report.css",
25+
"stock_inventory_valuation_report/static/src/js/stock_inventory_valuation_report_backend.js",
26+
"stock_inventory_valuation_report/static/src/xml/stock_inventory_valuation_report_backend.xml",
27+
],
28+
},
2229
"installable": True,
2330
}

stock_inventory_valuation_report/data/paperformat_data.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<record id="paperformat_inventory_valuation_report" model="report.paperformat">
54
<field name="name">Inventory Valuation Report A4</field>
65
<field name="default" eval="True" />
@@ -16,5 +15,4 @@
1615
<field name="header_spacing">24</field>
1716
<field name="dpi">90</field>
1817
</record>
19-
2018
</odoo>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- [Pimolnat Suntian](pimolnats@ecosoft.co.th)
2+
3+
- [Ooops404](https://ooops404.com)
4+
- [Francesco Foresti](francesco.foresti@ooops404.com)
5+
6+
- [Cetmix](https://cetmix.com)
7+
- [Andrey Solodovnikov](andrejsolodovnikov@gmail.com)
8+
9+
- [PyTech SRL](https://www.pytech.it)
10+
- [Alessandro Uffreduzzi](alessandro.uffreduzzi@pytech.it)

stock_inventory_valuation_report/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

stock_inventory_valuation_report/readme/DESCRIPTION.rst renamed to stock_inventory_valuation_report/readme/DESCRIPTION.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Stock Inventory Valuation Report is the report that display value of all products in internal location.
1+
Stock Inventory Valuation Report is the report that display value of all
2+
products in internal location.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
To use this module, you need to:
2+
3+
1. Go to Inventory \> Reporting \> Inventory Valuation.
4+
2. Select Inventory At Date.
5+
3. You can now choose a few additional options: "View report", "Export
6+
PDF" and "Export XLSX".

stock_inventory_valuation_report/readme/USAGE.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)