Skip to content

Commit

Permalink
[MIG] cooperator_website_uppercase_lastname: migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
huguesdk committed Apr 9, 2024
1 parent cf15d86 commit f8a14e1
Show file tree
Hide file tree
Showing 10 changed files with 444 additions and 56 deletions.
25 changes: 12 additions & 13 deletions cooperator_website_uppercase_lastname/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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**

Expand All @@ -30,8 +36,8 @@ Bug Tracker

Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/vertical-cooperative/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 <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20cooperator_website_uppercase_lastname%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/coopiteasy/vertical-cooperative/issues/new?body=module:%20cooperator_website_uppercase_lastname%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Expand All @@ -43,16 +49,9 @@ Authors

* Coop IT Easy SC

Contributors
~~~~~~~~~~~~

* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Robin Keunen

Maintainers
~~~~~~~~~~~

This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/14.0/cooperator_website_uppercase_lastname>`_ project on GitHub.
This module is part of the `coopiteasy/vertical-cooperative <https://github.com/coopiteasy/vertical-cooperative/tree/16.0/cooperator_website_uppercase_lastname>`_ project on GitHub.

You are welcome to contribute.
1 change: 0 additions & 1 deletion cooperator_website_uppercase_lastname/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from . import controllers
12 changes: 7 additions & 5 deletions cooperator_website_uppercase_lastname/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
}

This file was deleted.

20 changes: 0 additions & 20 deletions cooperator_website_uppercase_lastname/controllers/main.py

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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
)
3 changes: 0 additions & 3 deletions cooperator_website_uppercase_lastname/readme/CONTRIBUTORS.rst

This file was deleted.

3 changes: 3 additions & 0 deletions cooperator_website_uppercase_lastname/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -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.
Loading

0 comments on commit f8a14e1

Please sign in to comment.