From 2d0cd4fe64de6d494428f69264236c3ffb795c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 11 Nov 2021 09:25:20 +0100 Subject: [PATCH] [MIG] stock_inventory_cost_info: Migration to 14.0 TT31837 --- stock_inventory_cost_info/README.rst | 10 +++++----- stock_inventory_cost_info/__manifest__.py | 4 ++-- stock_inventory_cost_info/models/stock_inventory.py | 2 +- .../static/description/index.html | 8 ++++---- .../tests/test_stock_inventory_cost_info.py | 2 +- .../views/stock_inventory_views.xml | 11 ----------- 6 files changed, 13 insertions(+), 24 deletions(-) diff --git a/stock_inventory_cost_info/README.rst b/stock_inventory_cost_info/README.rst index 6fac21db1..1cb561991 100644 --- a/stock_inventory_cost_info/README.rst +++ b/stock_inventory_cost_info/README.rst @@ -14,13 +14,13 @@ Stock Inventory Cost Info :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--warehouse-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_inventory_cost_info + :target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_inventory_cost_info :alt: OCA/stock-logistics-warehouse .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_inventory_cost_info + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_inventory_cost_info :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/153/13.0 + :target: https://runbot.odoo-community.org/runbot/153/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -58,7 +58,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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -92,6 +92,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-warehouse `_ project on GitHub. +This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_inventory_cost_info/__manifest__.py b/stock_inventory_cost_info/__manifest__.py index 4174a0bd0..085740161 100644 --- a/stock_inventory_cost_info/__manifest__.py +++ b/stock_inventory_cost_info/__manifest__.py @@ -4,8 +4,8 @@ { "name": "Stock Inventory Cost Info", "summary": "Shows the cost of the inventory adjustments", - "version": "13.0.1.0.0", - "author": "Tecnativa, " "Odoo Community Association (OCA)", + "version": "14.0.1.0.0", + "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/stock-logistics-warehouse", "category": "Warehouse", "depends": ["stock"], diff --git a/stock_inventory_cost_info/models/stock_inventory.py b/stock_inventory_cost_info/models/stock_inventory.py index 00ce55c13..9ebdf5b47 100644 --- a/stock_inventory_cost_info/models/stock_inventory.py +++ b/stock_inventory_cost_info/models/stock_inventory.py @@ -8,7 +8,7 @@ class InventoryLine(models.Model): _inherit = "stock.inventory.line" currency_id = fields.Many2one( - string="Currency", related="inventory_id.company_id.currency_id", readonly=True + string="Currency", related="inventory_id.company_id.currency_id" ) adjustment_cost = fields.Monetary( string="Adjustment cost", compute="_compute_adjustment_cost", store=True diff --git a/stock_inventory_cost_info/static/description/index.html b/stock_inventory_cost_info/static/description/index.html index c7fe5d013..f9c7068d1 100644 --- a/stock_inventory_cost_info/static/description/index.html +++ b/stock_inventory_cost_info/static/description/index.html @@ -3,7 +3,7 @@ - + Stock Inventory Cost Info