From 0322e764ffc160dbe2de11db5fc1d60885ae5b5b Mon Sep 17 00:00:00 2001
From: Mateu Griful
Date: Thu, 9 Sep 2021 16:17:08 +0200
Subject: [PATCH] [14.0][MIG] stock_inventory_discrepancy: Migration to 14.0
---
stock_inventory_discrepancy/README.rst | 10 +++----
stock_inventory_discrepancy/__manifest__.py | 2 +-
.../i18n/stock_inventory_discrepancy.pot | 26 ++++++++++++++++++-
.../static/description/index.html | 6 ++---
.../views/stock_inventory_view.xml | 2 +-
5 files changed, 35 insertions(+), 11 deletions(-)
diff --git a/stock_inventory_discrepancy/README.rst b/stock_inventory_discrepancy/README.rst
index c2cbf8bac..23556636f 100644
--- a/stock_inventory_discrepancy/README.rst
+++ b/stock_inventory_discrepancy/README.rst
@@ -14,13 +14,13 @@ Stock Inventory Discrepancy
: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_discrepancy
+ :target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_inventory_discrepancy
: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_discrepancy
+ :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_inventory_discrepancy
: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|
@@ -66,7 +66,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.
@@ -99,6 +99,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_discrepancy/__manifest__.py b/stock_inventory_discrepancy/__manifest__.py
index f3d42f03f..97ea07416 100644
--- a/stock_inventory_discrepancy/__manifest__.py
+++ b/stock_inventory_discrepancy/__manifest__.py
@@ -5,7 +5,7 @@
"summary": "Adds the capability to show the discrepancy of every line in "
"an inventory and to block the inventory validation when the "
"discrepancy is over a user defined threshold.",
- "version": "13.0.1.1.0",
+ "version": "14.0.1.0.0",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse",
diff --git a/stock_inventory_discrepancy/i18n/stock_inventory_discrepancy.pot b/stock_inventory_discrepancy/i18n/stock_inventory_discrepancy.pot
index 461a9ca8c..49f78794b 100644
--- a/stock_inventory_discrepancy/i18n/stock_inventory_discrepancy.pot
+++ b/stock_inventory_discrepancy/i18n/stock_inventory_discrepancy.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 13.0\n"
+"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -23,6 +23,14 @@ msgstr ""
msgid "Discrepancy percent (%)"
msgstr ""
+#. module: stock_inventory_discrepancy
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_inventory__display_name
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_inventory_line__display_name
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_location__display_name
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_warehouse__display_name
+msgid "Display Name"
+msgstr ""
+
#. module: stock_inventory_discrepancy
#: model_terms:ir.ui.view,arch_db:stock_inventory_discrepancy.view_inventory_form
msgid "Force Validation"
@@ -33,6 +41,14 @@ msgstr ""
msgid "Has Over Discrepancy"
msgstr ""
+#. module: stock_inventory_discrepancy
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_inventory__id
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_inventory_line__id
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_location__id
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_warehouse__id
+msgid "ID"
+msgstr ""
+
#. module: stock_inventory_discrepancy
#: model:ir.model,name:stock_inventory_discrepancy.model_stock_inventory
msgid "Inventory"
@@ -48,6 +64,14 @@ msgstr ""
msgid "Inventory Locations"
msgstr ""
+#. module: stock_inventory_discrepancy
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_inventory____last_update
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_inventory_line____last_update
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_location____last_update
+#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_warehouse____last_update
+msgid "Last Modified on"
+msgstr ""
+
#. module: stock_inventory_discrepancy
#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_location__discrepancy_threshold
#: model:ir.model.fields,field_description:stock_inventory_discrepancy.field_stock_warehouse__discrepancy_threshold
diff --git a/stock_inventory_discrepancy/static/description/index.html b/stock_inventory_discrepancy/static/description/index.html
index 8046f1f27..88a7f5a7a 100644
--- a/stock_inventory_discrepancy/static/description/index.html
+++ b/stock_inventory_discrepancy/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

Adds the capability to show the discrepancy of every line in an inventory and
to block the inventory validation (setting it as ‘Pending to Approve’) when the
discrepancy is greater than an user defined threshold.
@@ -416,7 +416,7 @@ validation of an inventory pending to approve.
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.
@@ -443,7 +443,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-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_discrepancy/views/stock_inventory_view.xml b/stock_inventory_discrepancy/views/stock_inventory_view.xml
index 69fb87db4..59f7e5198 100644
--- a/stock_inventory_discrepancy/views/stock_inventory_view.xml
+++ b/stock_inventory_discrepancy/views/stock_inventory_view.xml
@@ -53,7 +53,7 @@
stock.inventory.line.tree2
stock.inventory.line
-
+