You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
358 B

  1. # Copyright 2019 Tecnativa - Jairo Llopis
  2. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  3. from openupgradelib.openupgrade import rename_xmlids
  4. def migrate(cr, version):
  5. """Use a better xmlid for the provided server action."""
  6. rename_xmlids(cr, [
  7. ("privacy_consent.update_opt_out", "privacy_consent.sync_blacklist"),
  8. ])