From 447e4766a8277ca61441d1cc5f56eda68044d347 Mon Sep 17 00:00:00 2001 From: nobuQuartile Date: Tue, 14 Jul 2026 04:15:33 +0000 Subject: [PATCH] [7013][IMP] stock_view_adj: merge stock_valuation_layer_view_adjust Integrate the stock valuation layer (SVL) view adjustments (remaining_qty and remaining_value) from stock_valuation_layer_view_adjust into stock_view_adj, and add the description field to the SVL list view. Make the module depend on stock_account. The original stock_valuation_layer_view_adjust module is moved to .void. --- .../README.rst | 0 .../__init__.py | 0 .../__manifest__.py | 0 .../readme/DESCRIPTION.md | 0 .../static/description/index.html | 0 .../views/stock_valuation_layer_views.xml | 0 .../addons/stock_valuation_layer_view_adjust | 1 - .../setup.py | 6 ---- stock_view_adj/README.rst | 8 +++-- stock_view_adj/__manifest__.py | 5 +-- stock_view_adj/static/description/index.html | 31 ++++++++++++------- .../views/stock_valuation_layer_views.xml | 27 ++++++++++++++++ 12 files changed, 55 insertions(+), 23 deletions(-) rename {stock_valuation_layer_view_adjust => .void/stock_valuation_layer_view_adjust}/README.rst (100%) rename {stock_valuation_layer_view_adjust => .void/stock_valuation_layer_view_adjust}/__init__.py (100%) rename {stock_valuation_layer_view_adjust => .void/stock_valuation_layer_view_adjust}/__manifest__.py (100%) rename {stock_valuation_layer_view_adjust => .void/stock_valuation_layer_view_adjust}/readme/DESCRIPTION.md (100%) rename {stock_valuation_layer_view_adjust => .void/stock_valuation_layer_view_adjust}/static/description/index.html (100%) rename {stock_valuation_layer_view_adjust => .void/stock_valuation_layer_view_adjust}/views/stock_valuation_layer_views.xml (100%) delete mode 120000 setup/stock_valuation_layer_view_adjust/odoo/addons/stock_valuation_layer_view_adjust delete mode 100644 setup/stock_valuation_layer_view_adjust/setup.py create mode 100644 stock_view_adj/views/stock_valuation_layer_views.xml diff --git a/stock_valuation_layer_view_adjust/README.rst b/.void/stock_valuation_layer_view_adjust/README.rst similarity index 100% rename from stock_valuation_layer_view_adjust/README.rst rename to .void/stock_valuation_layer_view_adjust/README.rst diff --git a/stock_valuation_layer_view_adjust/__init__.py b/.void/stock_valuation_layer_view_adjust/__init__.py similarity index 100% rename from stock_valuation_layer_view_adjust/__init__.py rename to .void/stock_valuation_layer_view_adjust/__init__.py diff --git a/stock_valuation_layer_view_adjust/__manifest__.py b/.void/stock_valuation_layer_view_adjust/__manifest__.py similarity index 100% rename from stock_valuation_layer_view_adjust/__manifest__.py rename to .void/stock_valuation_layer_view_adjust/__manifest__.py diff --git a/stock_valuation_layer_view_adjust/readme/DESCRIPTION.md b/.void/stock_valuation_layer_view_adjust/readme/DESCRIPTION.md similarity index 100% rename from stock_valuation_layer_view_adjust/readme/DESCRIPTION.md rename to .void/stock_valuation_layer_view_adjust/readme/DESCRIPTION.md diff --git a/stock_valuation_layer_view_adjust/static/description/index.html b/.void/stock_valuation_layer_view_adjust/static/description/index.html similarity index 100% rename from stock_valuation_layer_view_adjust/static/description/index.html rename to .void/stock_valuation_layer_view_adjust/static/description/index.html diff --git a/stock_valuation_layer_view_adjust/views/stock_valuation_layer_views.xml b/.void/stock_valuation_layer_view_adjust/views/stock_valuation_layer_views.xml similarity index 100% rename from stock_valuation_layer_view_adjust/views/stock_valuation_layer_views.xml rename to .void/stock_valuation_layer_view_adjust/views/stock_valuation_layer_views.xml diff --git a/setup/stock_valuation_layer_view_adjust/odoo/addons/stock_valuation_layer_view_adjust b/setup/stock_valuation_layer_view_adjust/odoo/addons/stock_valuation_layer_view_adjust deleted file mode 120000 index 0788ae59..00000000 --- a/setup/stock_valuation_layer_view_adjust/odoo/addons/stock_valuation_layer_view_adjust +++ /dev/null @@ -1 +0,0 @@ -../../../../stock_valuation_layer_view_adjust \ No newline at end of file diff --git a/setup/stock_valuation_layer_view_adjust/setup.py b/setup/stock_valuation_layer_view_adjust/setup.py deleted file mode 100644 index 28c57bb6..00000000 --- a/setup/stock_valuation_layer_view_adjust/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/stock_view_adj/README.rst b/stock_view_adj/README.rst index 8f70b4c9..c6aaca63 100644 --- a/stock_view_adj/README.rst +++ b/stock_view_adj/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ============== Stock View Adj ============== @@ -7,13 +11,13 @@ Stock View Adj !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:76653a63d5a4d3eba8829dd6c901782504038355e9e16bae2f2e0cee09886a87 + !! source digest: sha256:90c8b03b0fcffdff899748d8c8dc50d1971c8c24d2fef1ae37825056f0ae5873 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |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 +.. |badge2| image:: https://img.shields.io/badge/license-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-qrtl%2Faxls--custom-lightgray.png?logo=github diff --git a/stock_view_adj/__manifest__.py b/stock_view_adj/__manifest__.py index c78dd345..05b92f28 100644 --- a/stock_view_adj/__manifest__.py +++ b/stock_view_adj/__manifest__.py @@ -2,14 +2,15 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Stock View Adj", - "version": "16.0.1.1.0", + "version": "16.0.1.2.0", "author": "Quartile", "website": "https://www.quartile.co", "category": "Stock", "license": "AGPL-3", - "depends": ["stock"], + "depends": ["stock_account"], "data": [ "views/stock_picking_views.xml", + "views/stock_valuation_layer_views.xml", ], "installable": True, } diff --git a/stock_view_adj/static/description/index.html b/stock_view_adj/static/description/index.html index 8e2ddfcf..0bc6072b 100644 --- a/stock_view_adj/static/description/index.html +++ b/stock_view_adj/static/description/index.html @@ -3,15 +3,16 @@ -Stock View Adj +README.rst -
-

Stock View Adj

+
+ + +Odoo Community Association + +
+

Stock View Adj

-

Beta License: AGPL-3 qrtl/axls-custom

+

Beta License: AGPL-3 qrtl/axls-custom

This module makes adjustments to stock related views.

Table of contents

@@ -382,7 +388,7 @@

Stock View Adj

-

Bug Tracker

+

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 @@ -390,19 +396,20 @@

Bug Tracker

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

-

Credits

+

Credits

-

Authors

+

Authors

  • Quartile
-

Maintainers

+

Maintainers

This module is part of the qrtl/axls-custom project on GitHub.

You are welcome to contribute.

+
diff --git a/stock_view_adj/views/stock_valuation_layer_views.xml b/stock_view_adj/views/stock_valuation_layer_views.xml new file mode 100644 index 00000000..c3f9d44e --- /dev/null +++ b/stock_view_adj/views/stock_valuation_layer_views.xml @@ -0,0 +1,27 @@ + + + + stock.valuation.layer.tree + stock.valuation.layer + + + + + + + + + + + + + stock.valuation.layer.form + stock.valuation.layer + + + + + + + +