From 201c9edad1c79f46c99ab5064669b1715bc3c8a1 Mon Sep 17 00:00:00 2001
From: SilvioC2C
Date: Sat, 14 May 2022 14:58:18 +0200
Subject: [PATCH] [MIG] : Migration to 15.0
---
product_warranty/README.rst | 10 +++++-----
product_warranty/__manifest__.py | 2 +-
product_warranty/i18n/product_warranty.pot | 14 ++------------
product_warranty/models/product_template.py | 1 -
product_warranty/models/return_instruction.py | 3 +--
product_warranty/static/description/index.html | 6 +++---
product_warranty/views/product_warranty.xml | 2 +-
7 files changed, 13 insertions(+), 25 deletions(-)
diff --git a/product_warranty/README.rst b/product_warranty/README.rst
index c5293592..af902ece 100644
--- a/product_warranty/README.rst
+++ b/product_warranty/README.rst
@@ -14,13 +14,13 @@ Product Warranty
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github
- :target: https://github.com/OCA/rma/tree/14.0/product_warranty
+ :target: https://github.com/OCA/rma/tree/15.0/product_warranty
:alt: OCA/rma
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/rma-14-0/rma-14-0-product_warranty
+ :target: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-product_warranty
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/145/14.0
+ :target: https://runbot.odoo-community.org/runbot/145/15.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -51,7 +51,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.
@@ -117,6 +117,6 @@ Current `maintainers `__:
|maintainer-osi-scampbell| |maintainer-max3903|
-This module is part of the `OCA/rma `_ project on GitHub.
+This module is part of the `OCA/rma `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/product_warranty/__manifest__.py b/product_warranty/__manifest__.py
index 8eab86cb..1436c6a0 100644
--- a/product_warranty/__manifest__.py
+++ b/product_warranty/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "Product Warranty",
- "version": "14.0.1.0.0",
+ "version": "15.0.1.0.1",
"category": "Generic Modules/Product",
"author": "Akretion, Vauxoo, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/rma",
diff --git a/product_warranty/i18n/product_warranty.pot b/product_warranty/i18n/product_warranty.pot
index baca7c3e..33b60c16 100644
--- a/product_warranty/i18n/product_warranty.pot
+++ b/product_warranty/i18n/product_warranty.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 14.0\n"
+"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -56,17 +56,11 @@ msgid ""
msgstr ""
#. module: product_warranty
-#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo__display_name
-#: model:ir.model.fields,field_description:product_warranty.field_product_template__display_name
-#: model:ir.model.fields,field_description:product_warranty.field_res_company__display_name
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__display_name
msgid "Display Name"
msgstr ""
#. module: product_warranty
-#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo__id
-#: model:ir.model.fields,field_description:product_warranty.field_product_template__id
-#: model:ir.model.fields,field_description:product_warranty.field_res_company__id
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__id
msgid "ID"
msgstr ""
@@ -98,7 +92,7 @@ msgstr ""
#. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__is_default
-msgid "Is default"
+msgid "Is Default"
msgstr ""
#. module: product_warranty
@@ -107,9 +101,6 @@ msgid "Is this supplier still active, only for information."
msgstr ""
#. module: product_warranty
-#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo____last_update
-#: model:ir.model.fields,field_description:product_warranty.field_product_template____last_update
-#: model:ir.model.fields,field_description:product_warranty.field_res_company____last_update
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction____last_update
msgid "Last Modified on"
msgstr ""
@@ -158,7 +149,6 @@ msgstr ""
#. module: product_warranty
#: model_terms:ir.ui.view,arch_db:product_warranty.product_return_instructions_form_view
-#: model_terms:ir.ui.view,arch_db:product_warranty.product_return_instructions_tree_view
msgid "Return instructions"
msgstr ""
diff --git a/product_warranty/models/product_template.py b/product_warranty/models/product_template.py
index d671734c..fad6949f 100644
--- a/product_warranty/models/product_template.py
+++ b/product_warranty/models/product_template.py
@@ -15,7 +15,6 @@ class ProductTemplate(models.Model):
("month", "Month(s)"),
("year", "Year(s)"),
],
- string="Warranty Type",
required=True,
default="day",
)
diff --git a/product_warranty/models/return_instruction.py b/product_warranty/models/return_instruction.py
index bd5e74e8..642026be 100644
--- a/product_warranty/models/return_instruction.py
+++ b/product_warranty/models/return_instruction.py
@@ -11,9 +11,8 @@ class ReturnInstruction(models.Model):
_description = "Instructions for product return"
name = fields.Char("Title", required=True)
- instructions = fields.Text("Instructions", help="Instructions for product return.")
+ instructions = fields.Text(help="Instructions for product return.")
is_default = fields.Boolean(
- "Is default",
help="If is default, will be use "
"to set the default value in "
"supplier info's. Be careful to "
diff --git a/product_warranty/static/description/index.html b/product_warranty/static/description/index.html
index 113ef05c..64a03f9e 100644
--- a/product_warranty/static/description/index.html
+++ b/product_warranty/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

This module extends the functionality of ‘Sales Management’ to allows you
to set product warranty details on products and product-supplier relation.
Table of contents
@@ -401,7 +401,7 @@ edit supplier information lines an set the warranty information for each one.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.
@@ -452,7 +452,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.
Current maintainers:

-
This module is part of the OCA/rma project on GitHub.
+
This module is part of the OCA/rma project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/product_warranty/views/product_warranty.xml b/product_warranty/views/product_warranty.xml
index 3c2db686..888bfc3b 100644
--- a/product_warranty/views/product_warranty.xml
+++ b/product_warranty/views/product_warranty.xml
@@ -5,7 +5,7 @@
product.return.instructions.tree
return.instruction
-
+