Browse Source

[MIG] privacy_consent: Migration to 13.0

pull/50/head
Jairo Llopis 4 years ago
parent
commit
17282221da
No known key found for this signature in database GPG Key ID: 8B8A6900E4831A9B
  1. 2
      privacy_consent/__manifest__.py
  2. 10
      privacy_consent/migrations/12.0.1.0.0/pre-migrate.py

2
privacy_consent/__manifest__.py

@ -4,7 +4,7 @@
"name": "Privacy - Consent",
"summary": "Allow people to explicitly accept or reject inclusion "
"in some activity, GDPR compliant",
"version": "12.0.1.1.0",
"version": "13.0.1.0.0",
"development_status": "Production/Stable",
"category": "Privacy",
"website": "https://github.com/OCA/management-activity",

10
privacy_consent/migrations/12.0.1.0.0/pre-migrate.py

@ -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"),
])
Loading…
Cancel
Save