From 13a5278163c5da515b92fc9ff2db6724e20bc314 Mon Sep 17 00:00:00 2001
From: Bhavesh Heliconia
Date: Tue, 31 Dec 2024 18:54:05 +0530
Subject: [PATCH] [MIG] fleet_vehicle_configuration: Migration to 18.0
---
fleet_vehicle_configuration/README.rst | 39 ++++++++++---------
fleet_vehicle_configuration/__manifest__.py | 2 +-
fleet_vehicle_configuration/pyproject.toml | 3 ++
.../readme/CONTRIBUTORS.md | 4 ++
.../readme/CONTRIBUTORS.rst | 4 --
.../readme/DESCRIPTION.md | 12 ++++++
.../readme/DESCRIPTION.rst | 14 -------
.../static/description/index.html | 23 ++++++-----
.../views/fleet_vehicle.xml | 2 -
.../views/fleet_vehicle_configuration.xml | 10 ++---
10 files changed, 57 insertions(+), 56 deletions(-)
create mode 100644 fleet_vehicle_configuration/pyproject.toml
create mode 100644 fleet_vehicle_configuration/readme/CONTRIBUTORS.md
delete mode 100644 fleet_vehicle_configuration/readme/CONTRIBUTORS.rst
create mode 100644 fleet_vehicle_configuration/readme/DESCRIPTION.md
delete mode 100644 fleet_vehicle_configuration/readme/DESCRIPTION.rst
diff --git a/fleet_vehicle_configuration/README.rst b/fleet_vehicle_configuration/README.rst
index 3da12a5c..eef4e161 100644
--- a/fleet_vehicle_configuration/README.rst
+++ b/fleet_vehicle_configuration/README.rst
@@ -17,31 +17,30 @@ Fleet Vehicle Configuration
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffleet-lightgray.png?logo=github
- :target: https://github.com/OCA/fleet/tree/16.0/fleet_vehicle_configuration
+ :target: https://github.com/OCA/fleet/tree/18.0/fleet_vehicle_configuration
:alt: OCA/fleet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/fleet-16-0/fleet-16-0-fleet_vehicle_configuration
+ :target: https://translation.odoo-community.org/projects/fleet-18-0/fleet-18-0-fleet_vehicle_configuration
: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/fleet&target_branch=16.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
-This module provides a way to define several vehicle internal configuration.
-This basic one sets a `max_seats` field.
+This module provides a way to define several vehicle internal
+configuration. This basic one sets a max_seats field.
This module does not handle variant of a same car (options, ...).
Example:
-* car with 5 seats configuration or 7 seats configuration
+- car with 5 seats configuration or 7 seats configuration
+- Same utility truck that can be configured as:
-* Same utility truck that can be configured as:
-
- * 3 seats
- * 5 seats
- * 11 seats
+ - 3 seats
+ - 5 seats
+ - 11 seats
**Table of contents**
@@ -54,7 +53,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.
@@ -62,20 +61,22 @@ Credits
=======
Authors
-~~~~~~~
+-------
* Camptocamp
Contributors
-~~~~~~~~~~~~
+------------
+
+- Camptocamp SA:
-* Camptocamp SA:
+ - Damien Crier
+ - Camille Morand
- * Damien Crier
- * Camille Morand
+- `Heliconia Solutions Pvt. Ltd. `__
Maintainers
-~~~~~~~~~~~
+-----------
This module is maintained by the OCA.
@@ -87,6 +88,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/fleet `_ project on GitHub.
+This module is part of the `OCA/fleet `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/fleet_vehicle_configuration/__manifest__.py b/fleet_vehicle_configuration/__manifest__.py
index 5495dce5..98f0ea5c 100644
--- a/fleet_vehicle_configuration/__manifest__.py
+++ b/fleet_vehicle_configuration/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "Fleet Vehicle Configuration",
- "version": "16.0.1.0.0",
+ "version": "18.0.1.0.0",
"depends": ["fleet"],
"author": "Camptocamp,Odoo Community Association (OCA)",
"summary": "add vehicle configuration capacity",
diff --git a/fleet_vehicle_configuration/pyproject.toml b/fleet_vehicle_configuration/pyproject.toml
new file mode 100644
index 00000000..4231d0cc
--- /dev/null
+++ b/fleet_vehicle_configuration/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/fleet_vehicle_configuration/readme/CONTRIBUTORS.md b/fleet_vehicle_configuration/readme/CONTRIBUTORS.md
new file mode 100644
index 00000000..252957a9
--- /dev/null
+++ b/fleet_vehicle_configuration/readme/CONTRIBUTORS.md
@@ -0,0 +1,4 @@
+- Camptocamp SA:
+ - Damien Crier \<\>
+ - Camille Morand \<\>
+- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
diff --git a/fleet_vehicle_configuration/readme/CONTRIBUTORS.rst b/fleet_vehicle_configuration/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 8c37d6f2..00000000
--- a/fleet_vehicle_configuration/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-* Camptocamp SA:
-
- * Damien Crier
- * Camille Morand
diff --git a/fleet_vehicle_configuration/readme/DESCRIPTION.md b/fleet_vehicle_configuration/readme/DESCRIPTION.md
new file mode 100644
index 00000000..5186bc65
--- /dev/null
+++ b/fleet_vehicle_configuration/readme/DESCRIPTION.md
@@ -0,0 +1,12 @@
+This module provides a way to define several vehicle internal
+configuration. This basic one sets a max_seats field.
+
+This module does not handle variant of a same car (options, ...).
+
+Example:
+
+- car with 5 seats configuration or 7 seats configuration
+- Same utility truck that can be configured as:
+ - 3 seats
+ - 5 seats
+ - 11 seats
diff --git a/fleet_vehicle_configuration/readme/DESCRIPTION.rst b/fleet_vehicle_configuration/readme/DESCRIPTION.rst
deleted file mode 100644
index cf434dcd..00000000
--- a/fleet_vehicle_configuration/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-This module provides a way to define several vehicle internal configuration.
-This basic one sets a `max_seats` field.
-
-This module does not handle variant of a same car (options, ...).
-
-Example:
-
-* car with 5 seats configuration or 7 seats configuration
-
-* Same utility truck that can be configured as:
-
- * 3 seats
- * 5 seats
- * 11 seats
diff --git a/fleet_vehicle_configuration/static/description/index.html b/fleet_vehicle_configuration/static/description/index.html
index bfef40b7..1593b97e 100644
--- a/fleet_vehicle_configuration/static/description/index.html
+++ b/fleet_vehicle_configuration/static/description/index.html
@@ -1,4 +1,3 @@
-
@@ -9,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.
@@ -275,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 }
@@ -301,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -369,9 +369,9 @@ Fleet Vehicle Configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:81154da4012d2dd20a1a0474df6891235e85f7a4500f6664a490b5a817e1fd60
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
-This module provides a way to define several vehicle internal configuration.
-This basic one sets a max_seats field.
+
+This module provides a way to define several vehicle internal
+configuration. This basic one sets a max_seats field.
This module does not handle variant of a same car (options, …).
Example:
@@ -400,7 +400,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.
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.
-
This module is part of the OCA/fleet project on GitHub.
+
This module is part of the OCA/fleet project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/fleet_vehicle_configuration/views/fleet_vehicle.xml b/fleet_vehicle_configuration/views/fleet_vehicle.xml
index d3d5964a..8ee1b86f 100644
--- a/fleet_vehicle_configuration/views/fleet_vehicle.xml
+++ b/fleet_vehicle_configuration/views/fleet_vehicle.xml
@@ -1,6 +1,5 @@
-
fleet.vehicle.form
fleet.vehicle
@@ -15,5 +14,4 @@
-
diff --git a/fleet_vehicle_configuration/views/fleet_vehicle_configuration.xml b/fleet_vehicle_configuration/views/fleet_vehicle_configuration.xml
index a3dbe699..9f114b8d 100644
--- a/fleet_vehicle_configuration/views/fleet_vehicle_configuration.xml
+++ b/fleet_vehicle_configuration/views/fleet_vehicle_configuration.xml
@@ -1,6 +1,5 @@
-
fleet.vehicle.configuration.form
fleet.vehicle.configuration
@@ -10,7 +9,7 @@
-
+
@@ -19,13 +18,12 @@
fleet.vehicle.configuration.tree
fleet.vehicle.configuration
-
+
-
-
+
+
-