Skip to content

Commit

Permalink
T1550 FIX migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ecino committed Aug 8, 2024
1 parent fecef7a commit a08abc2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion child_compassion/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# pylint: disable=C8101
{
"name": "Compassion Children",
"version": "14.0.1.1.0",
"version": "14.0.1.2.0",
"category": "Compassion",
"author": "Compassion CH",
"license": "AGPL-3",
Expand Down
21 changes: 21 additions & 0 deletions child_compassion/migrations/14.0.1.2.0/pre-migrate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from openupgradelib import openupgrade


def migrate(cr, version):
openupgrade.rename_xmlids(
cr,
[
(
"partner_communication_compassion.child_picture",
"child_compassion.child_picture",
),
(
"partner_communication_compassion.paperformat_child_picture",
"child_compassion.paperformat_child_picture",
),
(
"partner_communication_compassion.report_child_picture",
"child_compassion.report_child_picture",
),
],
)

0 comments on commit a08abc2

Please sign in to comment.