From 37966612c4e15deb02849f24782629ff466ad171 Mon Sep 17 00:00:00 2001
From: Lindsay
Date: Fri, 2 Aug 2024 09:50:06 +0200
Subject: [PATCH] [IMP] event_registration_cancel_reason: black, isort,
prettier
---
event_registration_cancel_reason/README.rst | 10 +++++-----
.../__manifest__.py | 2 +-
.../static/description/index.html | 18 ++++++++++--------
.../addons/event_registration_cancel_reason | 1 +
.../event_registration_cancel_reason/setup.py | 6 ++++++
5 files changed, 23 insertions(+), 14 deletions(-)
create mode 120000 setup/event_registration_cancel_reason/odoo/addons/event_registration_cancel_reason
create mode 100644 setup/event_registration_cancel_reason/setup.py
diff --git a/event_registration_cancel_reason/README.rst b/event_registration_cancel_reason/README.rst
index 9b63bb5fc..0f90a7f0f 100644
--- a/event_registration_cancel_reason/README.rst
+++ b/event_registration_cancel_reason/README.rst
@@ -17,13 +17,13 @@ Reasons for event registrations cancellations
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fevent-lightgray.png?logo=github
- :target: https://github.com/OCA/event/tree/15.0/event_registration_cancel_reason
+ :target: https://github.com/OCA/event/tree/16.0/event_registration_cancel_reason
:alt: OCA/event
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/event-15-0/event-15-0-event_registration_cancel_reason
+ :target: https://translation.odoo-community.org/projects/event-16-0/event-16-0-event_registration_cancel_reason
: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/event&target_branch=15.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/event&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -70,7 +70,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.
@@ -107,6 +107,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/event `_ project on GitHub.
+This module is part of the `OCA/event `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/event_registration_cancel_reason/__manifest__.py b/event_registration_cancel_reason/__manifest__.py
index 98e770bcc..2c2de1579 100644
--- a/event_registration_cancel_reason/__manifest__.py
+++ b/event_registration_cancel_reason/__manifest__.py
@@ -7,7 +7,7 @@
{
"name": "Reasons for event registrations cancellations",
- "version": "15.0.1.0.0",
+ "version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/event",
diff --git a/event_registration_cancel_reason/static/description/index.html b/event_registration_cancel_reason/static/description/index.html
index c915cb32a..5e00613eb 100644
--- a/event_registration_cancel_reason/static/description/index.html
+++ b/event_registration_cancel_reason/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,7 +369,7 @@ Reasons for event registrations cancellations
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aa0b2bc49e4fe64ba84e586b034dd1fa413b17d6e47dd0caa928d80c995be6dd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module allows to add predefined reasons for the attendees to report back
why they cancel their registration to an event.
Table of contents
@@ -418,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.
@@ -446,11 +446,13 @@
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/event project on GitHub.
+
This module is part of the OCA/event project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/setup/event_registration_cancel_reason/odoo/addons/event_registration_cancel_reason b/setup/event_registration_cancel_reason/odoo/addons/event_registration_cancel_reason
new file mode 120000
index 000000000..5c6e69771
--- /dev/null
+++ b/setup/event_registration_cancel_reason/odoo/addons/event_registration_cancel_reason
@@ -0,0 +1 @@
+../../../../event_registration_cancel_reason
\ No newline at end of file
diff --git a/setup/event_registration_cancel_reason/setup.py b/setup/event_registration_cancel_reason/setup.py
new file mode 100644
index 000000000..28c57bb64
--- /dev/null
+++ b/setup/event_registration_cancel_reason/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)