From 03b6633a140ab0d61386785f25801a711431f9bc Mon Sep 17 00:00:00 2001 From: "robin.keunen" Date: Fri, 8 Apr 2022 16:30:20 +0200 Subject: [PATCH 01/11] [ADD] cooperator_website_uppercase_lastname --- .../README.rst | 58 +++ .../__init__.py | 1 + .../__manifest__.py | 15 + .../controllers/__init__.py | 1 + .../controllers/main.py | 20 + .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 0 .../static/description/index.html | 416 ++++++++++++++++++ .../cooperator_website_uppercase_lastname | 1 + .../setup.py | 6 + 10 files changed, 521 insertions(+) create mode 100644 cooperator_website_uppercase_lastname/README.rst create mode 100644 cooperator_website_uppercase_lastname/__init__.py create mode 100644 cooperator_website_uppercase_lastname/__manifest__.py create mode 100644 cooperator_website_uppercase_lastname/controllers/__init__.py create mode 100644 cooperator_website_uppercase_lastname/controllers/main.py create mode 100644 cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst create mode 100644 cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst create mode 100644 cooperator_website_uppercase_lastname/static/description/index.html create mode 120000 setup/cooperator_website_uppercase_lastname/odoo/addons/cooperator_website_uppercase_lastname create mode 100644 setup/cooperator_website_uppercase_lastname/setup.py diff --git a/cooperator_website_uppercase_lastname/README.rst b/cooperator_website_uppercase_lastname/README.rst new file mode 100644 index 000000000..0aa797974 --- /dev/null +++ b/cooperator_website_uppercase_lastname/README.rst @@ -0,0 +1,58 @@ +============================== +Cooperator Uppercase Last Name +============================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github + :target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/cooperator_website_uppercase_lastname + :alt: coopiteasy/vertical-cooperative + +|badge1| |badge2| |badge3| + + +**Table of contents** + +.. contents:: + :local: + +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Coop IT Easy SCRLfs + +Contributors +~~~~~~~~~~~~ + +* `Coop IT Easy SCRLfs `_: + + * Robin Keunen + +Maintainers +~~~~~~~~~~~ + +This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. + +You are welcome to contribute. diff --git a/cooperator_website_uppercase_lastname/__init__.py b/cooperator_website_uppercase_lastname/__init__.py new file mode 100644 index 000000000..e046e49fb --- /dev/null +++ b/cooperator_website_uppercase_lastname/__init__.py @@ -0,0 +1 @@ +from . import controllers diff --git a/cooperator_website_uppercase_lastname/__manifest__.py b/cooperator_website_uppercase_lastname/__manifest__.py new file mode 100644 index 000000000..ff920d7fd --- /dev/null +++ b/cooperator_website_uppercase_lastname/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2022 Coop IT Easy SCRLfs +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Cooperator Uppercase Last Name", + "summary": """ + This module UPPERCASES the last names of submitted requests""", + "version": "12.0.1.0.0", + "category": "Cooperative management", + "website": "https://coopiteasy.be", + "author": "Coop IT Easy SCRLfs", + "license": "AGPL-3", + "application": False, + "depends": ["easy_my_coop_website"], +} diff --git a/cooperator_website_uppercase_lastname/controllers/__init__.py b/cooperator_website_uppercase_lastname/controllers/__init__.py new file mode 100644 index 000000000..12a7e529b --- /dev/null +++ b/cooperator_website_uppercase_lastname/controllers/__init__.py @@ -0,0 +1 @@ +from . import main diff --git a/cooperator_website_uppercase_lastname/controllers/main.py b/cooperator_website_uppercase_lastname/controllers/main.py new file mode 100644 index 000000000..eba184f49 --- /dev/null +++ b/cooperator_website_uppercase_lastname/controllers/main.py @@ -0,0 +1,20 @@ +# Copyright 2022 Coop IT Easy SCRL fs +# Robin Keunen +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from odoo import http + +from odoo.addons.easy_my_coop_website.controllers.main import WebsiteSubscription + + +class WebsiteSubscriptionUppercase(WebsiteSubscription): + @http.route( + ["/subscription/subscribe_share"], + type="http", + auth="public", + website=True, + ) + def share_subscription(self, **kwargs): + if "lastname" in kwargs: + kwargs["lastname"] = kwargs["lastname"].upper() + return super().share_subscription(**kwargs) diff --git a/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst b/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..5ffcfaadd --- /dev/null +++ b/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* `Coop IT Easy SCRLfs `_: + + * Robin Keunen diff --git a/cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst b/cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst new file mode 100644 index 000000000..e69de29bb diff --git a/cooperator_website_uppercase_lastname/static/description/index.html b/cooperator_website_uppercase_lastname/static/description/index.html new file mode 100644 index 000000000..58fe548cf --- /dev/null +++ b/cooperator_website_uppercase_lastname/static/description/index.html @@ -0,0 +1,416 @@ + + + + + + +Cooperator Uppercase Last Name + + + +
+

Cooperator Uppercase Last Name

+ + +

Beta License: AGPL-3 coopiteasy/vertical-cooperative

+

Table of contents

+ +
+

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 smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Coop IT Easy SCRLfs
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the coopiteasy/vertical-cooperative project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/setup/cooperator_website_uppercase_lastname/odoo/addons/cooperator_website_uppercase_lastname b/setup/cooperator_website_uppercase_lastname/odoo/addons/cooperator_website_uppercase_lastname new file mode 120000 index 000000000..ee075ab5d --- /dev/null +++ b/setup/cooperator_website_uppercase_lastname/odoo/addons/cooperator_website_uppercase_lastname @@ -0,0 +1 @@ +../../../../cooperator_website_uppercase_lastname \ No newline at end of file diff --git a/setup/cooperator_website_uppercase_lastname/setup.py b/setup/cooperator_website_uppercase_lastname/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/cooperator_website_uppercase_lastname/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) From 84f13a281d7ccf26739a8d59d7a60cd7e4609fdd Mon Sep 17 00:00:00 2001 From: oca-ci Date: Tue, 7 Jun 2022 09:50:48 +0000 Subject: [PATCH 02/11] [UPD] Update cooperator_website_uppercase_lastname.pot --- .../i18n/cooperator_website_uppercase_lastname.pot | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot diff --git a/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot b/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot new file mode 100644 index 000000000..d2e396f15 --- /dev/null +++ b/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + From ffe130689858de1068efb7b8e5d6d71b45c99329 Mon Sep 17 00:00:00 2001 From: Victor Champonnois Date: Wed, 8 Jun 2022 09:41:25 +0200 Subject: [PATCH 03/11] [FIX] cooperator_website_uppercase_lastname dependencies --- cooperator_website_uppercase_lastname/__manifest__.py | 2 +- cooperator_website_uppercase_lastname/controllers/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cooperator_website_uppercase_lastname/__manifest__.py b/cooperator_website_uppercase_lastname/__manifest__.py index ff920d7fd..2484b10b5 100644 --- a/cooperator_website_uppercase_lastname/__manifest__.py +++ b/cooperator_website_uppercase_lastname/__manifest__.py @@ -11,5 +11,5 @@ "author": "Coop IT Easy SCRLfs", "license": "AGPL-3", "application": False, - "depends": ["easy_my_coop_website"], + "depends": ["cooperator_website"], } diff --git a/cooperator_website_uppercase_lastname/controllers/main.py b/cooperator_website_uppercase_lastname/controllers/main.py index eba184f49..d91fa6bc3 100644 --- a/cooperator_website_uppercase_lastname/controllers/main.py +++ b/cooperator_website_uppercase_lastname/controllers/main.py @@ -4,7 +4,7 @@ from odoo import http -from odoo.addons.easy_my_coop_website.controllers.main import WebsiteSubscription +from odoo.addons.cooperator_website.controllers.main import WebsiteSubscription class WebsiteSubscriptionUppercase(WebsiteSubscription): From cb95ffd41db69e9a002b5769ebddea1a0729e502 Mon Sep 17 00:00:00 2001 From: Carmen Bianca Bakker Date: Wed, 29 Jun 2022 11:20:24 +0200 Subject: [PATCH 04/11] =?UTF-8?q?[FIX]=20SCRLfs=20=E2=86=92=20SC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carmen Bianca Bakker --- cooperator_website_uppercase_lastname/README.rst | 4 ++-- cooperator_website_uppercase_lastname/__manifest__.py | 4 ++-- cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst | 2 +- .../static/description/index.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cooperator_website_uppercase_lastname/README.rst b/cooperator_website_uppercase_lastname/README.rst index 0aa797974..60dbe099a 100644 --- a/cooperator_website_uppercase_lastname/README.rst +++ b/cooperator_website_uppercase_lastname/README.rst @@ -41,12 +41,12 @@ Credits Authors ~~~~~~~ -* Coop IT Easy SCRLfs +* Coop IT Easy SC Contributors ~~~~~~~~~~~~ -* `Coop IT Easy SCRLfs `_: +* `Coop IT Easy SC `_: * Robin Keunen diff --git a/cooperator_website_uppercase_lastname/__manifest__.py b/cooperator_website_uppercase_lastname/__manifest__.py index 2484b10b5..c4bc708c8 100644 --- a/cooperator_website_uppercase_lastname/__manifest__.py +++ b/cooperator_website_uppercase_lastname/__manifest__.py @@ -1,4 +1,4 @@ -# Copyright 2022 Coop IT Easy SCRLfs +# Copyright 2022 Coop IT Easy SC # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { @@ -8,7 +8,7 @@ "version": "12.0.1.0.0", "category": "Cooperative management", "website": "https://coopiteasy.be", - "author": "Coop IT Easy SCRLfs", + "author": "Coop IT Easy SC", "license": "AGPL-3", "application": False, "depends": ["cooperator_website"], diff --git a/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst b/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst index 5ffcfaadd..4f8dd843a 100644 --- a/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst +++ b/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst @@ -1,3 +1,3 @@ -* `Coop IT Easy SCRLfs `_: +* `Coop IT Easy SC `_: * Robin Keunen diff --git a/cooperator_website_uppercase_lastname/static/description/index.html b/cooperator_website_uppercase_lastname/static/description/index.html index 58fe548cf..813f28bd6 100644 --- a/cooperator_website_uppercase_lastname/static/description/index.html +++ b/cooperator_website_uppercase_lastname/static/description/index.html @@ -393,13 +393,13 @@

Credits

Authors

    -
  • Coop IT Easy SCRLfs
  • +
  • Coop IT Easy SC

Contributors

    -
  • Coop IT Easy SCRLfs:
      +
    • Coop IT Easy SC:
      • Robin Keunen
    • From 636fc2c91a620e19470e2210434206b51207d97b Mon Sep 17 00:00:00 2001 From: Victor Champonnois Date: Wed, 13 Jul 2022 10:42:12 +0200 Subject: [PATCH 05/11] [MIG] cooperator_website_uppercase_lastname: Migration to 13.0 --- cooperator_website_uppercase_lastname/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cooperator_website_uppercase_lastname/__manifest__.py b/cooperator_website_uppercase_lastname/__manifest__.py index c4bc708c8..544ad8e8c 100644 --- a/cooperator_website_uppercase_lastname/__manifest__.py +++ b/cooperator_website_uppercase_lastname/__manifest__.py @@ -5,7 +5,7 @@ "name": "Cooperator Uppercase Last Name", "summary": """ This module UPPERCASES the last names of submitted requests""", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "category": "Cooperative management", "website": "https://coopiteasy.be", "author": "Coop IT Easy SC", From e37217b305b69c5293286b6720e72c289b3c9cc2 Mon Sep 17 00:00:00 2001 From: Victor Champonnois Date: Wed, 13 Jul 2022 10:44:37 +0200 Subject: [PATCH 06/11] [MIG] cooperator_website_uppercase_lastname: Migration to 14.0 --- cooperator_website_uppercase_lastname/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cooperator_website_uppercase_lastname/__manifest__.py b/cooperator_website_uppercase_lastname/__manifest__.py index 544ad8e8c..56c113539 100644 --- a/cooperator_website_uppercase_lastname/__manifest__.py +++ b/cooperator_website_uppercase_lastname/__manifest__.py @@ -5,7 +5,7 @@ "name": "Cooperator Uppercase Last Name", "summary": """ This module UPPERCASES the last names of submitted requests""", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Cooperative management", "website": "https://coopiteasy.be", "author": "Coop IT Easy SC", From e6a7e077e397a8497afcd2480c5c270d2cf397b5 Mon Sep 17 00:00:00 2001 From: oca-ci Date: Sat, 27 Aug 2022 12:28:42 +0000 Subject: [PATCH 07/11] [UPD] Update cooperator_website_uppercase_lastname.pot --- .../i18n/cooperator_website_uppercase_lastname.pot | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot b/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot index d2e396f15..4d8b20f91 100644 --- a/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot +++ b/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot @@ -3,12 +3,11 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" - From 9346c592b97f33416882c878547ad6f6dce93a80 Mon Sep 17 00:00:00 2001 From: Github GRAP Bot Date: Sat, 27 Aug 2022 12:31:26 +0000 Subject: [PATCH 08/11] [UPD] README.rst --- cooperator_website_uppercase_lastname/README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cooperator_website_uppercase_lastname/README.rst b/cooperator_website_uppercase_lastname/README.rst index 60dbe099a..d24151539 100644 --- a/cooperator_website_uppercase_lastname/README.rst +++ b/cooperator_website_uppercase_lastname/README.rst @@ -14,7 +14,7 @@ Cooperator Uppercase Last Name :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github - :target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/cooperator_website_uppercase_lastname + :target: https://github.com/coopiteasy/vertical-cooperative/tree/14.0/cooperator_website_uppercase_lastname :alt: coopiteasy/vertical-cooperative |badge1| |badge2| |badge3| @@ -31,7 +31,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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -53,6 +53,6 @@ Contributors Maintainers ~~~~~~~~~~~ -This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. +This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. You are welcome to contribute. From 1c2c8ffc8c7875452a4a2d4c6239014755797113 Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Sun, 28 Aug 2022 23:30:30 +0200 Subject: [PATCH 09/11] [REM] remove html description files remove the html description file of all modules, as they are outdated, they are not automatically updated by the ocabot, they add redundancy with the readme.rst file, which is used as a fallback (to display the module description in odoo) and works just fine. --- .../static/description/index.html | 416 ------------------ 1 file changed, 416 deletions(-) delete mode 100644 cooperator_website_uppercase_lastname/static/description/index.html diff --git a/cooperator_website_uppercase_lastname/static/description/index.html b/cooperator_website_uppercase_lastname/static/description/index.html deleted file mode 100644 index 813f28bd6..000000000 --- a/cooperator_website_uppercase_lastname/static/description/index.html +++ /dev/null @@ -1,416 +0,0 @@ - - - - - - -Cooperator Uppercase Last Name - - - -
      -

      Cooperator Uppercase Last Name

      - - -

      Beta License: AGPL-3 coopiteasy/vertical-cooperative

      -

      Table of contents

      - -
      -

      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 smashing it by providing a detailed and welcomed -feedback.

      -

      Do not contact contributors directly about support or help with technical issues.

      -
      -
      -

      Credits

      -
      -

      Authors

      -
        -
      • Coop IT Easy SC
      • -
      -
      -
      -

      Contributors

      - -
      -
      -

      Maintainers

      -

      This module is part of the coopiteasy/vertical-cooperative project on GitHub.

      -

      You are welcome to contribute.

      -
      -
      -
      - - From cf15d86e8f6ae261ec2ecf3da139769bba83be15 Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Mon, 8 Apr 2024 16:50:54 +0200 Subject: [PATCH 10/11] [MIG] cooperator_website_uppercase_lastname: migration to 15.0 --- cooperator_website_uppercase_lastname/__manifest__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cooperator_website_uppercase_lastname/__manifest__.py b/cooperator_website_uppercase_lastname/__manifest__.py index 56c113539..ac8fcc16d 100644 --- a/cooperator_website_uppercase_lastname/__manifest__.py +++ b/cooperator_website_uppercase_lastname/__manifest__.py @@ -5,11 +5,10 @@ "name": "Cooperator Uppercase Last Name", "summary": """ This module UPPERCASES the last names of submitted requests""", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "category": "Cooperative management", "website": "https://coopiteasy.be", "author": "Coop IT Easy SC", "license": "AGPL-3", - "application": False, "depends": ["cooperator_website"], } From f8a14e15215e145a28b80245bc5e013c96f07e76 Mon Sep 17 00:00:00 2001 From: hugues de keyzer Date: Mon, 8 Apr 2024 17:04:01 +0200 Subject: [PATCH 11/11] [MIG] cooperator_website_uppercase_lastname: migration to 16.0 --- .../README.rst | 25 +- .../__init__.py | 1 - .../__manifest__.py | 12 +- .../controllers/__init__.py | 1 - .../controllers/main.py | 20 - .../cooperator_website_uppercase_lastname.pot | 13 - ...st-enable_lastname_uppercase_conversion.py | 12 + .../readme/CONTRIBUTORS.rst | 3 - .../readme/DESCRIPTION.rst | 3 + .../static/description/index.html | 410 ++++++++++++++++++ 10 files changed, 444 insertions(+), 56 deletions(-) delete mode 100644 cooperator_website_uppercase_lastname/controllers/__init__.py delete mode 100644 cooperator_website_uppercase_lastname/controllers/main.py delete mode 100644 cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot create mode 100644 cooperator_website_uppercase_lastname/migrations/16.0.1.0.0/post-enable_lastname_uppercase_conversion.py delete mode 100644 cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst create mode 100644 cooperator_website_uppercase_lastname/static/description/index.html diff --git a/cooperator_website_uppercase_lastname/README.rst b/cooperator_website_uppercase_lastname/README.rst index d24151539..27a70481a 100644 --- a/cooperator_website_uppercase_lastname/README.rst +++ b/cooperator_website_uppercase_lastname/README.rst @@ -2,10 +2,13 @@ Cooperator Uppercase Last Name ============================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1f111835d36429b9dd3696e9421cf67fbd7a2e8e75de1c24ca15ad552692b7cc + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,11 +17,14 @@ Cooperator Uppercase Last Name :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github - :target: https://github.com/coopiteasy/vertical-cooperative/tree/14.0/cooperator_website_uppercase_lastname + :target: https://github.com/coopiteasy/vertical-cooperative/tree/16.0/cooperator_website_uppercase_lastname :alt: coopiteasy/vertical-cooperative -|badge1| |badge2| |badge3| +|badge1| |badge2| |badge3| +This module has been emptied. It exists only to automatically transition from +it to ``partner_lastname_uppercase``. It should be uninstalled after +migration. **Table of contents** @@ -30,8 +36,8 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -43,16 +49,9 @@ Authors * Coop IT Easy SC -Contributors -~~~~~~~~~~~~ - -* `Coop IT Easy SC `_: - - * Robin Keunen - Maintainers ~~~~~~~~~~~ -This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. +This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. You are welcome to contribute. diff --git a/cooperator_website_uppercase_lastname/__init__.py b/cooperator_website_uppercase_lastname/__init__.py index e046e49fb..e69de29bb 100644 --- a/cooperator_website_uppercase_lastname/__init__.py +++ b/cooperator_website_uppercase_lastname/__init__.py @@ -1 +0,0 @@ -from . import controllers diff --git a/cooperator_website_uppercase_lastname/__manifest__.py b/cooperator_website_uppercase_lastname/__manifest__.py index ac8fcc16d..04c15cff9 100644 --- a/cooperator_website_uppercase_lastname/__manifest__.py +++ b/cooperator_website_uppercase_lastname/__manifest__.py @@ -3,12 +3,14 @@ { "name": "Cooperator Uppercase Last Name", - "summary": """ - This module UPPERCASES the last names of submitted requests""", - "version": "15.0.1.0.0", + "summary": "Emptied", + "version": "16.0.1.0.0", "category": "Cooperative management", - "website": "https://coopiteasy.be", + "website": "https://github.com/coopiteasy/vertical-cooperative", "author": "Coop IT Easy SC", "license": "AGPL-3", - "depends": ["cooperator_website"], + "depends": [ + "cooperator_website", + "partner_lastname_uppercase", + ], } diff --git a/cooperator_website_uppercase_lastname/controllers/__init__.py b/cooperator_website_uppercase_lastname/controllers/__init__.py deleted file mode 100644 index 12a7e529b..000000000 --- a/cooperator_website_uppercase_lastname/controllers/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import main diff --git a/cooperator_website_uppercase_lastname/controllers/main.py b/cooperator_website_uppercase_lastname/controllers/main.py deleted file mode 100644 index d91fa6bc3..000000000 --- a/cooperator_website_uppercase_lastname/controllers/main.py +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2022 Coop IT Easy SCRL fs -# Robin Keunen -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - -from odoo import http - -from odoo.addons.cooperator_website.controllers.main import WebsiteSubscription - - -class WebsiteSubscriptionUppercase(WebsiteSubscription): - @http.route( - ["/subscription/subscribe_share"], - type="http", - auth="public", - website=True, - ) - def share_subscription(self, **kwargs): - if "lastname" in kwargs: - kwargs["lastname"] = kwargs["lastname"].upper() - return super().share_subscription(**kwargs) diff --git a/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot b/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot deleted file mode 100644 index 4d8b20f91..000000000 --- a/cooperator_website_uppercase_lastname/i18n/cooperator_website_uppercase_lastname.pot +++ /dev/null @@ -1,13 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" diff --git a/cooperator_website_uppercase_lastname/migrations/16.0.1.0.0/post-enable_lastname_uppercase_conversion.py b/cooperator_website_uppercase_lastname/migrations/16.0.1.0.0/post-enable_lastname_uppercase_conversion.py new file mode 100644 index 000000000..7859a08d3 --- /dev/null +++ b/cooperator_website_uppercase_lastname/migrations/16.0.1.0.0/post-enable_lastname_uppercase_conversion.py @@ -0,0 +1,12 @@ +# SPDX-FileCopyrightText: 2024 Coop IT Easy SC +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + env["ir.config_parameter"].set_param( + "partner_lastname_uppercase.convert_lastnames_to_uppercase", True + ) diff --git a/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst b/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst deleted file mode 100644 index 4f8dd843a..000000000 --- a/cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* `Coop IT Easy SC `_: - - * Robin Keunen diff --git a/cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst b/cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst index e69de29bb..80ac29a03 100644 --- a/cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst +++ b/cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This module has been emptied. It exists only to automatically transition from +it to ``partner_lastname_uppercase``. It should be uninstalled after +migration. diff --git a/cooperator_website_uppercase_lastname/static/description/index.html b/cooperator_website_uppercase_lastname/static/description/index.html new file mode 100644 index 000000000..eec27cb2e --- /dev/null +++ b/cooperator_website_uppercase_lastname/static/description/index.html @@ -0,0 +1,410 @@ + + + + + +Cooperator Uppercase Last Name + + + +
      +

      Cooperator Uppercase Last Name

      + + +

      Beta License: AGPL-3 coopiteasy/vertical-cooperative

      +

      This module has been emptied. It exists only to automatically transition from +it to partner_lastname_uppercase. It should be uninstalled after +migration.

      +

      Table of contents

      + +
      +

      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.

      +

      Do not contact contributors directly about support or help with technical issues.

      +
      +
      +

      Credits

      +
      +

      Authors

      +
        +
      • Coop IT Easy SC
      • +
      +
      +
      +

      Maintainers

      +

      This module is part of the coopiteasy/vertical-cooperative project on GitHub.

      +

      You are welcome to contribute.

      +
      +
      +
      + +