From 16d62407c138153f2448c7f61e4101d17bf036ab Mon Sep 17 00:00:00 2001
From: Vicente
Date: Mon, 6 May 2024 16:22:03 +0200
Subject: [PATCH] [MIG] website_rma: Migration to 16.0
---
website_rma/README.rst | 10 +++++-----
website_rma/__manifest__.py | 2 +-
website_rma/static/description/index.html | 17 ++++++++++-------
website_rma/tests/test_website_rma.py | 5 +++--
website_rma/views/res_config_settings_views.xml | 2 +-
5 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/website_rma/README.rst b/website_rma/README.rst
index b1f1d1676..23409ceea 100644
--- a/website_rma/README.rst
+++ b/website_rma/README.rst
@@ -17,13 +17,13 @@ Return Merchandise Authorization Management - Website Form
: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/15.0/website_rma
+ :target: https://github.com/OCA/rma/tree/16.0/website_rma
:alt: OCA/rma
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/rma-15-0/rma-15-0-website_rma
+ :target: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-website_rma
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
- :target: https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=15.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -69,7 +69,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 to smash it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -111,6 +111,6 @@ Current `maintainer `__:
|maintainer-chienandalu|
-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/website_rma/__manifest__.py b/website_rma/__manifest__.py
index f4b1783fb..2a0c23de8 100644
--- a/website_rma/__manifest__.py
+++ b/website_rma/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "Return Merchandise Authorization Management - Website Form",
"summary": "Return Merchandise Authorization (RMA)",
- "version": "15.0.1.1.1",
+ "version": "16.0.1.0.0",
"development_status": "Production/Stable",
"category": "RMA",
"website": "https://github.com/OCA/rma",
diff --git a/website_rma/static/description/index.html b/website_rma/static/description/index.html
index dc7d60d0c..135a03a90 100644
--- a/website_rma/static/description/index.html
+++ b/website_rma/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -368,7 +369,7 @@ Return Merchandise Authorization Management - Website Form
-
+
This module extends the functionality of rma and website to allow you
to request an RMA through a form in the website.
Table of contents
@@ -417,7 +418,7 @@
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
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -442,13 +443,15 @@
This module is maintained by the OCA.
-
+
+
+
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.
Current maintainer:
-
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/website_rma/tests/test_website_rma.py b/website_rma/tests/test_website_rma.py
index 7ea773b98..9d75c2fe6 100644
--- a/website_rma/tests/test_website_rma.py
+++ b/website_rma/tests/test_website_rma.py
@@ -1,9 +1,10 @@
# Copyright 2020 Tecnativa - Ernesto Tejeda
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-from odoo.tests.common import Form, HttpCase
+from odoo.tests.common import Form, HttpCase, tagged
+@tagged("-at_install", "post_install")
class TestWebsiteRma(HttpCase):
def setUp(self):
super().setUp()
@@ -31,7 +32,7 @@ def setUp(self):
move.product_uom_qty = 10
picking = picking_form.save()
picking.action_confirm()
- picking.move_lines.quantity_done = 10
+ picking.move_ids.quantity_done = 10
picking.button_validate()
def test_website_form_request_rma(self):
diff --git a/website_rma/views/res_config_settings_views.xml b/website_rma/views/res_config_settings_views.xml
index 353cabfb6..7851ff889 100644
--- a/website_rma/views/res_config_settings_views.xml
+++ b/website_rma/views/res_config_settings_views.xml
@@ -7,7 +7,7 @@
res.config.settings
-
+
Return Merchandise Authorization (RMA)