From 3a8a6afc8a5dfa6b2171a97f81348a00152dadfd Mon Sep 17 00:00:00 2001 From: wildi Date: Thu, 28 Nov 2019 10:01:35 +0100 Subject: [PATCH] [ADD] Backport of stock_inventory_valuation_report --- stock_inventory_valuation_report/README.rst | 10 +++++----- stock_inventory_valuation_report/__manifest__.py | 2 +- .../i18n/stock_inventory_valuation_report.pot | 2 +- .../reports/stock_inventory_valuation_report.py | 2 +- .../reports/stock_inventory_valuation_report.xml | 2 +- .../static/description/index.html | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/stock_inventory_valuation_report/README.rst b/stock_inventory_valuation_report/README.rst index cce5a4c..009ace3 100644 --- a/stock_inventory_valuation_report/README.rst +++ b/stock_inventory_valuation_report/README.rst @@ -14,16 +14,16 @@ Stock Inventory Valuation 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/12.0/stock_inventory_valuation_report + :target: https://github.com/OCA/stock-logistics-reporting/tree/11.0/stock_inventory_valuation_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-12-0/stock-logistics-reporting-12-0-stock_inventory_valuation_report + :target: https://translation.odoo-community.org/projects/stock-logistics-reporting-11-0/stock-logistics-reporting-11-0-stock_inventory_valuation_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/12.0 + :target: https://runbot.odoo-community.org/runbot/151/11.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Stock Inventory Valuation Report is the report that display value of all products in internal location. @@ -77,6 +77,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_inventory_valuation_report/__manifest__.py b/stock_inventory_valuation_report/__manifest__.py index 77d4387..bc6b210 100644 --- a/stock_inventory_valuation_report/__manifest__.py +++ b/stock_inventory_valuation_report/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Stock Inventory Valuation Report', 'summary': 'Add report button on Inventory Valuation.', - 'version': '12.0.1.0.0', + 'version': '11.0.1.0.0', 'category': 'Warehouse', 'website': 'https://github.com/OCA/stock-logistics-reporting', 'author': 'Ecosoft,Odoo Community Association (OCA)', diff --git a/stock_inventory_valuation_report/i18n/stock_inventory_valuation_report.pot b/stock_inventory_valuation_report/i18n/stock_inventory_valuation_report.pot index 5b8ac8a..f72d8bd 100644 --- a/stock_inventory_valuation_report/i18n/stock_inventory_valuation_report.pot +++ b/stock_inventory_valuation_report/i18n/stock_inventory_valuation_report.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py b/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py index 26caecf..c9152d8 100644 --- a/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py +++ b/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py @@ -11,7 +11,7 @@ class StockInventoryValuationView(models.TransientModel): display_name = fields.Char() qty_at_date = fields.Float() uom_id = fields.Many2one( - comodel_name='uom.uom', + comodel_name='product.uom', ) currency_id = fields.Many2one( comodel_name='res.currency', diff --git a/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.xml b/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.xml index 6f5fdb7..cb1704b 100644 --- a/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.xml +++ b/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.xml @@ -83,7 +83,7 @@
- +
diff --git a/stock_inventory_valuation_report/static/description/index.html b/stock_inventory_valuation_report/static/description/index.html index 14099bc..810779b 100644 --- a/stock_inventory_valuation_report/static/description/index.html +++ b/stock_inventory_valuation_report/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

Stock Inventory Valuation Report is the report that display value of all products in internal location.

Table of contents

@@ -420,7 +420,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

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.