From 074ee4bc1e9b03131d80e3d829517433b9d85107 Mon Sep 17 00:00:00 2001
From: EdgarRetes
Date: Wed, 16 Oct 2024 15:28:36 -0600
Subject: [PATCH] [MIG] fieldservice_isp_flow: Migration to 18.0
---
fieldservice_isp_flow/README.rst | 10 +++++-----
fieldservice_isp_flow/__manifest__.py | 2 +-
fieldservice_isp_flow/data/fsm_stage.xml | 2 --
.../static/description/index.html | 17 ++++++++++-------
.../tests/test_fsm_isp_flow.py | 3 ++-
fieldservice_isp_flow/views/fsm_order.xml | 13 +++++--------
6 files changed, 23 insertions(+), 24 deletions(-)
diff --git a/fieldservice_isp_flow/README.rst b/fieldservice_isp_flow/README.rst
index f20db13d04..f5fcb5e4f6 100644
--- a/fieldservice_isp_flow/README.rst
+++ b/fieldservice_isp_flow/README.rst
@@ -17,13 +17,13 @@ Field Service - Flow for ISP
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffield--service-lightgray.png?logo=github
- :target: https://github.com/OCA/field-service/tree/17.0/fieldservice_isp_flow
+ :target: https://github.com/OCA/field-service/tree/18.0/fieldservice_isp_flow
:alt: OCA/field-service
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/field-service-17-0/field-service-17-0-fieldservice_isp_flow
+ :target: https://translation.odoo-community.org/projects/field-service-18-0/field-service-18-0-fieldservice_isp_flow
: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/field-service&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/field-service&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -74,7 +74,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.
@@ -126,6 +126,6 @@ Current `maintainer `__:
|maintainer-osi-scampbell|
-This module is part of the `OCA/field-service `_ project on GitHub.
+This module is part of the `OCA/field-service `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/fieldservice_isp_flow/__manifest__.py b/fieldservice_isp_flow/__manifest__.py
index 34e6d238e3..976f8cbddc 100644
--- a/fieldservice_isp_flow/__manifest__.py
+++ b/fieldservice_isp_flow/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Field Service - Flow for ISP",
"summary": "Field Service workflow for Internet Service Providers",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"category": "Field Service",
"author": "Open Source Integrators, " "Akretion, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
diff --git a/fieldservice_isp_flow/data/fsm_stage.xml b/fieldservice_isp_flow/data/fsm_stage.xml
index 25e17db8f8..c6fa9737b2 100644
--- a/fieldservice_isp_flow/data/fsm_stage.xml
+++ b/fieldservice_isp_flow/data/fsm_stage.xml
@@ -1,5 +1,4 @@
-
Confirmed
20
@@ -47,5 +46,4 @@
True
#95A5A6
-
diff --git a/fieldservice_isp_flow/static/description/index.html b/fieldservice_isp_flow/static/description/index.html
index a914d596a9..d6f649c01f 100644
--- a/fieldservice_isp_flow/static/description/index.html
+++ b/fieldservice_isp_flow/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 @@ Field Service - Flow for ISP
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d82a5e99e72df7399e0a0d7e4e2cc9a8abf04eb183d44edc9a7af4e46b4342a8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module is an add-on for the Field Service application in Odoo. It
provides default stages for orders and some validation logic when
changing current stage.
@@ -423,7 +424,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.
@@ -458,13 +459,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/field-service project on GitHub.
+
This module is part of the OCA/field-service project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/fieldservice_isp_flow/tests/test_fsm_isp_flow.py b/fieldservice_isp_flow/tests/test_fsm_isp_flow.py
index e391100f8f..f56fd3bb46 100644
--- a/fieldservice_isp_flow/tests/test_fsm_isp_flow.py
+++ b/fieldservice_isp_flow/tests/test_fsm_isp_flow.py
@@ -5,7 +5,8 @@
from odoo import fields
from odoo.exceptions import ValidationError
-from odoo.tests.common import Form, TransactionCase
+from odoo.tests import Form
+from odoo.tests.common import TransactionCase
class FSMIspFlowCase(TransactionCase):
diff --git a/fieldservice_isp_flow/views/fsm_order.xml b/fieldservice_isp_flow/views/fsm_order.xml
index b856846753..d3c6c8dbff 100644
--- a/fieldservice_isp_flow/views/fsm_order.xml
+++ b/fieldservice_isp_flow/views/fsm_order.xml
@@ -1,5 +1,4 @@
-
fsm.order.form
@@ -65,12 +64,12 @@
-
- fsm.order.tree
+
+ fsm.order.list
fsm.order
-
+
-
+
stage_id in (
%(fieldservice.fsm_stage_new)d,
%(fieldservice_isp_flow.fsm_stage_confirmed)d,
@@ -82,11 +81,10 @@
%(fieldservice_isp_flow.fsm_stage_enroute)d,
%(fieldservice_isp_flow.fsm_stage_started)d,
%(fieldservice.fsm_stage_completed)d)
-
+
-
fsm.order.search
@@ -104,5 +102,4 @@
-