Browse Source
[MIG] privacy_consent: Migration to 13.0
pull/50/head
Jairo Llopis
4 years ago
No known key found for this signature in database
GPG Key ID: 8B8A6900E4831A9B
2 changed files with
1 additions and
11 deletions
-
privacy_consent/__manifest__.py
-
privacy_consent/migrations/12.0.1.0.0/pre-migrate.py
|
@ -4,7 +4,7 @@ |
|
|
"name": "Privacy - Consent", |
|
|
"name": "Privacy - Consent", |
|
|
"summary": "Allow people to explicitly accept or reject inclusion " |
|
|
"summary": "Allow people to explicitly accept or reject inclusion " |
|
|
"in some activity, GDPR compliant", |
|
|
"in some activity, GDPR compliant", |
|
|
"version": "12.0.1.1.0", |
|
|
|
|
|
|
|
|
"version": "13.0.1.0.0", |
|
|
"development_status": "Production/Stable", |
|
|
"development_status": "Production/Stable", |
|
|
"category": "Privacy", |
|
|
"category": "Privacy", |
|
|
"website": "https://github.com/OCA/management-activity", |
|
|
"website": "https://github.com/OCA/management-activity", |
|
|
|
@ -1,10 +0,0 @@ |
|
|
# Copyright 2019 Tecnativa - Jairo Llopis |
|
|
|
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). |
|
|
|
|
|
from openupgradelib.openupgrade import rename_xmlids |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def migrate(cr, version): |
|
|
|
|
|
"""Use a better xmlid for the provided server action.""" |
|
|
|
|
|
rename_xmlids(cr, [ |
|
|
|
|
|
("privacy_consent.update_opt_out", "privacy_consent.sync_blacklist"), |
|
|
|
|
|
]) |
|
|
|