From 2a5089656e8be033aca5745f4ca1fcdee3c49717 Mon Sep 17 00:00:00 2001
From: Hadrien Huvelle <hhu@baboum.be>
Date: Thu, 7 Nov 2024 19:08:44 +0100
Subject: [PATCH] test

---
 event_mail/pyproject.toml                       |  3 +++
 event_mail/readme/CONTRIBUTORS.md               |  6 ++++++
 event_mail/readme/CONTRIBUTORS.rst              |  6 ------
 event_mail/readme/DESCRIPTION.md                |  3 +++
 event_mail/readme/DESCRIPTION.rst               |  4 ----
 event_mail/readme/USAGE.md                      |  9 +++++++++
 event_mail/readme/USAGE.rst                     |  9 ---------
 .../pyproject.toml                              |  3 +++
 .../readme/CONTRIBUTORS.md                      |  9 +++++++++
 .../readme/CONTRIBUTORS.rst                     |  9 ---------
 .../readme/DESCRIPTION.md                       |  8 ++++++++
 .../readme/DESCRIPTION.rst                      |  8 --------
 .../readme/ROADMAP.md                           | 12 ++++++++++++
 .../readme/ROADMAP.rst                          | 11 -----------
 .../readme/USAGE.md                             |  7 +++++++
 .../readme/USAGE.rst                            |  7 -------
 partner_event/pyproject.toml                    |  3 +++
 partner_event/readme/CONFIGURE.md               | 11 +++++++++++
 partner_event/readme/CONFIGURE.rst              |  9 ---------
 partner_event/readme/CONTRIBUTORS.md            | 13 +++++++++++++
 partner_event/readme/CONTRIBUTORS.rst           | 17 -----------------
 partner_event/readme/DESCRIPTION.md             | 15 +++++++++++++++
 partner_event/readme/DESCRIPTION.rst            | 13 -------------
 23 files changed, 102 insertions(+), 93 deletions(-)
 create mode 100644 event_mail/pyproject.toml
 create mode 100644 event_mail/readme/CONTRIBUTORS.md
 delete mode 100644 event_mail/readme/CONTRIBUTORS.rst
 create mode 100644 event_mail/readme/DESCRIPTION.md
 delete mode 100644 event_mail/readme/DESCRIPTION.rst
 create mode 100644 event_mail/readme/USAGE.md
 delete mode 100644 event_mail/readme/USAGE.rst
 create mode 100644 event_registration_partner_unique/pyproject.toml
 create mode 100644 event_registration_partner_unique/readme/CONTRIBUTORS.md
 delete mode 100644 event_registration_partner_unique/readme/CONTRIBUTORS.rst
 create mode 100644 event_registration_partner_unique/readme/DESCRIPTION.md
 delete mode 100644 event_registration_partner_unique/readme/DESCRIPTION.rst
 create mode 100644 event_registration_partner_unique/readme/ROADMAP.md
 delete mode 100644 event_registration_partner_unique/readme/ROADMAP.rst
 create mode 100644 event_registration_partner_unique/readme/USAGE.md
 delete mode 100644 event_registration_partner_unique/readme/USAGE.rst
 create mode 100644 partner_event/pyproject.toml
 create mode 100644 partner_event/readme/CONFIGURE.md
 delete mode 100644 partner_event/readme/CONFIGURE.rst
 create mode 100644 partner_event/readme/CONTRIBUTORS.md
 delete mode 100644 partner_event/readme/CONTRIBUTORS.rst
 create mode 100644 partner_event/readme/DESCRIPTION.md
 delete mode 100644 partner_event/readme/DESCRIPTION.rst

diff --git a/event_mail/pyproject.toml b/event_mail/pyproject.toml
new file mode 100644
index 000000000..4231d0ccc
--- /dev/null
+++ b/event_mail/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/event_mail/readme/CONTRIBUTORS.md b/event_mail/readme/CONTRIBUTORS.md
new file mode 100644
index 000000000..2f0003447
--- /dev/null
+++ b/event_mail/readme/CONTRIBUTORS.md
@@ -0,0 +1,6 @@
+- [Tecnativa](https://www.tecnativa.com):
+
+  > - Sergio Teruel
+  > - David Vidal
+  > - Ernesto Tejeda
+  > - Stefan Ungureanu
diff --git a/event_mail/readme/CONTRIBUTORS.rst b/event_mail/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 9214d651a..000000000
--- a/event_mail/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-* `Tecnativa <https://www.tecnativa.com>`__:
-
-   * Sergio Teruel
-   * David Vidal
-   * Ernesto Tejeda
-   * Stefan Ungureanu
diff --git a/event_mail/readme/DESCRIPTION.md b/event_mail/readme/DESCRIPTION.md
new file mode 100644
index 000000000..2ab3ea8c2
--- /dev/null
+++ b/event_mail/readme/DESCRIPTION.md
@@ -0,0 +1,3 @@
+This module allows to define mail settings for events. By default the
+emails scheduler has been deactivated. You can create mail scheduler
+templates for events and select one by default in event settings.
diff --git a/event_mail/readme/DESCRIPTION.rst b/event_mail/readme/DESCRIPTION.rst
deleted file mode 100644
index 17412837c..000000000
--- a/event_mail/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-This module allows to define mail settings for events. By default the emails
-scheduler has been deactivated.
-You can create mail scheduler templates for events and select one by default
-in event settings.
diff --git a/event_mail/readme/USAGE.md b/event_mail/readme/USAGE.md
new file mode 100644
index 000000000..fc3f7b039
--- /dev/null
+++ b/event_mail/readme/USAGE.md
@@ -0,0 +1,9 @@
+To use this module, you need to:
+
+1.  Go to *Events \> Configuration \> Mail Templates* and create all
+    templates that you need.
+2.  Go to *Events \> Settings* and select the default template in
+    "Template Mail Scheduler" field.
+3.  Go to *Events \> Events* and create one. All mails schedulers has
+    been created. Also you can select other template in "Mail Template
+    Scheduler" field on "Communication" tab.
diff --git a/event_mail/readme/USAGE.rst b/event_mail/readme/USAGE.rst
deleted file mode 100644
index 00a497670..000000000
--- a/event_mail/readme/USAGE.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-To use this module, you need to:
-
-#. Go to *Events > Configuration > Mail Templates* and create all templates
-   that you need.
-#. Go to *Events > Settings* and select the default template in
-   "Template Mail Scheduler" field.
-#. Go to *Events > Events* and create one. All mails schedulers has been
-   created. Also you can select other template in "Mail Template Scheduler"
-   field on "Communication" tab.
diff --git a/event_registration_partner_unique/pyproject.toml b/event_registration_partner_unique/pyproject.toml
new file mode 100644
index 000000000..4231d0ccc
--- /dev/null
+++ b/event_registration_partner_unique/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/event_registration_partner_unique/readme/CONTRIBUTORS.md b/event_registration_partner_unique/readme/CONTRIBUTORS.md
new file mode 100644
index 000000000..ff7a4b0eb
--- /dev/null
+++ b/event_registration_partner_unique/readme/CONTRIBUTORS.md
@@ -0,0 +1,9 @@
+- [Tecnativa](https://www.tecnativa.com)
+
+  > - Rafael Blasco
+  > - Jairo Llopis
+  > - Vicent Cubells
+  > - Cristina Martin R.
+  > - Victor M.M. Torres
+  > - Víctor Martínez
+  > - Carolina Fernandez
diff --git a/event_registration_partner_unique/readme/CONTRIBUTORS.rst b/event_registration_partner_unique/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 5c90c3f91..000000000
--- a/event_registration_partner_unique/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-* `Tecnativa <https://www.tecnativa.com>`_
-
-    * Rafael Blasco
-    * Jairo Llopis
-    * Vicent Cubells
-    * Cristina Martin R.
-    * Victor M.M. Torres
-    * Víctor Martínez
-    * Carolina Fernandez
diff --git a/event_registration_partner_unique/readme/DESCRIPTION.md b/event_registration_partner_unique/readme/DESCRIPTION.md
new file mode 100644
index 000000000..4085e6828
--- /dev/null
+++ b/event_registration_partner_unique/readme/DESCRIPTION.md
@@ -0,0 +1,8 @@
+This module is intended for backend use only, and extends the
+functionality of events to avoid duplicating attendees.
+
+It is designed to work alongside *partner_event* (which is a
+dependency), and it is advisable to enable it by clicking on **Create
+Partners in registration**; this way it will create new partners or will
+match existing ones, but at the same time will avoid creating duplicates
+from partners already existing.
diff --git a/event_registration_partner_unique/readme/DESCRIPTION.rst b/event_registration_partner_unique/readme/DESCRIPTION.rst
deleted file mode 100644
index cc71bc7e0..000000000
--- a/event_registration_partner_unique/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-This module is intended for backend use only, and extends the functionality
-of events to avoid duplicating attendees.
-
-It is designed to work alongside *partner_event* (which is a dependency), and
-it is advisable to enable it by clicking on **Create Partners in
-registration**; this way it will create new partners or will match existing
-ones, but at the same time will avoid creating duplicates from partners
-already existing.
diff --git a/event_registration_partner_unique/readme/ROADMAP.md b/event_registration_partner_unique/readme/ROADMAP.md
new file mode 100644
index 000000000..88a3273fa
--- /dev/null
+++ b/event_registration_partner_unique/readme/ROADMAP.md
@@ -0,0 +1,12 @@
+- This module is intended for backend use, so the validation error is
+  enough to show the user what is wrong,
+- When *website_event* is installed, and public users try to register
+  more than one attendee, this will trigger a validation error as the
+  attendee partner is duplicated. The error shown is 500 internal server
+  error.
+- It would be necessary to have a new module which depends on
+  *website_event* plus this one to prevent said issue.
+- Another problem would arise when used with *event_sale* module,
+  because it would try to use "Sale Order" contact as attendee and that
+  will lead to the issue of duplicated attendees if trying to buy access
+  to the same event more than once.
diff --git a/event_registration_partner_unique/readme/ROADMAP.rst b/event_registration_partner_unique/readme/ROADMAP.rst
deleted file mode 100644
index f1efd7568..000000000
--- a/event_registration_partner_unique/readme/ROADMAP.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-* This module is intended for backend use, so the validation error is enough
-  to show the user what is wrong,
-* When *website_event* is installed, and public users try to register more
-  than one attendee, this will trigger a validation error as the attendee
-  partner is duplicated. The error shown is 500 internal server error.
-* It would be necessary to have a new module which depends on *website_event*
-  plus this one to prevent said issue.
-* Another problem would arise when used with *event_sale* module, because it
-  would try to use "Sale Order" contact as attendee and that will lead to the
-  issue of duplicated attendees if trying to buy access to the same event
-  more than once.
diff --git a/event_registration_partner_unique/readme/USAGE.md b/event_registration_partner_unique/readme/USAGE.md
new file mode 100644
index 000000000..5e5faeb6f
--- /dev/null
+++ b/event_registration_partner_unique/readme/USAGE.md
@@ -0,0 +1,7 @@
+1.  Go to **Events** and choose an event or create a new one.
+2.  Enable **Forbid Duplicates**.
+3.  Go to **Attendees**.
+4.  Create a new attendee.
+5.  If you try to fill successive attendees with the same contact filled
+    out in the "Attendee Partner" field, the system won't allow it. That
+    can happen for example if the same email is used several times.
diff --git a/event_registration_partner_unique/readme/USAGE.rst b/event_registration_partner_unique/readme/USAGE.rst
deleted file mode 100644
index 88853b3cc..000000000
--- a/event_registration_partner_unique/readme/USAGE.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-#. Go to **Events** and choose an event or create a new one.
-#. Enable **Forbid Duplicates**.
-#. Go to **Attendees**.
-#. Create a new attendee.
-#. If you try to fill successive attendees with the same contact filled out in
-   the "Attendee Partner" field, the system won't allow it. That can
-   happen for example if the same email is used several times.
diff --git a/partner_event/pyproject.toml b/partner_event/pyproject.toml
new file mode 100644
index 000000000..4231d0ccc
--- /dev/null
+++ b/partner_event/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/partner_event/readme/CONFIGURE.md b/partner_event/readme/CONFIGURE.md
new file mode 100644
index 000000000..7c0dc6e13
--- /dev/null
+++ b/partner_event/readme/CONFIGURE.md
@@ -0,0 +1,11 @@
+There is a new option in event form view, "Create Partners in
+registration". If this option is checked, when you add registrations to
+this event, partners will be created automatically with name, email,
+phone and mobile fields.
+
+If partner already exists and user only fills email, name, phone and
+mobile fields will be filled with partner's data.
+
+The event registration values email, name, phone and mobile will be
+changed if the related partner values are changed and the event end date
+hasn't passed yet.
diff --git a/partner_event/readme/CONFIGURE.rst b/partner_event/readme/CONFIGURE.rst
deleted file mode 100644
index 46486568b..000000000
--- a/partner_event/readme/CONFIGURE.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-There is a new option in event form view, "Create Partners in registration". If
-this option is checked, when you add registrations to this event, partners will
-be created automatically with name, email, phone and mobile fields.
-
-If partner already exists and user only fills email, name, phone and mobile fields will
-be filled with partner's data.
-
-The event registration values email, name, phone and mobile will be changed if the
-related partner values are changed and the event end date hasn't passed yet.
diff --git a/partner_event/readme/CONTRIBUTORS.md b/partner_event/readme/CONTRIBUTORS.md
new file mode 100644
index 000000000..69f21dc2d
--- /dev/null
+++ b/partner_event/readme/CONTRIBUTORS.md
@@ -0,0 +1,13 @@
+- [Tecnativa](https://www.tecnativa.com):
+  - Pedro M. Baeza
+  - Antonio Espinosa
+  - Jairo Llopis
+  - Vicent Cubells
+  - David Vidal
+  - Rafael Blasco
+  - Víctor Martínez
+  - Stefan Ungureanu
+  - Carolina Fernandez
+- [Antiun](https://antiun.com/):
+  - Javier Iniesta
+- Anil Kesariya
diff --git a/partner_event/readme/CONTRIBUTORS.rst b/partner_event/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 91f0d5fc7..000000000
--- a/partner_event/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,17 +0,0 @@
-* `Tecnativa <https://www.tecnativa.com>`__:
-
-  * Pedro M. Baeza
-  * Antonio Espinosa
-  * Jairo Llopis
-  * Vicent Cubells
-  * David Vidal
-  * Rafael Blasco
-  * Víctor Martínez
-  * Stefan Ungureanu
-  * Carolina Fernandez
-
-* `Antiun <https://antiun.com/>`__:
-
-  * Javier Iniesta
-
-* `Anil Kesariya`
diff --git a/partner_event/readme/DESCRIPTION.md b/partner_event/readme/DESCRIPTION.md
new file mode 100644
index 000000000..568d6afd8
--- /dev/null
+++ b/partner_event/readme/DESCRIPTION.md
@@ -0,0 +1,15 @@
+This module links partners with the events they are registered through a
+smart button.
+
+It also includes:
+
+- Search partners by their event attendees.
+- Search partners by number of events attendees.
+- Search partners by number of events attended.
+- Partner column is visible on registration one2many list inside the
+  event.
+- Action in partner tree view 'More' button, to register several
+  partners to an event
+- Restricts partner deletion when event attendees are linked to it.
+- Onchange for partner_id removed in v16 core in Event Registration-
+  including functionality here
diff --git a/partner_event/readme/DESCRIPTION.rst b/partner_event/readme/DESCRIPTION.rst
deleted file mode 100644
index 2360047bb..000000000
--- a/partner_event/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-This module links partners with the events they are registered through a
-smart button.
-
-It also includes:
-
-* Search partners by their event attendees.
-* Search partners by number of events attendees.
-* Search partners by number of events attended.
-* Partner column is visible on registration one2many list inside the event.
-* Action in partner tree view 'More' button, to register several partners
-  to an event
-* Restricts partner deletion when event attendees are linked to it.
-* Onchange for partner_id removed in v16 core in Event Registration- including functionality here