diff --git a/child_compassion/__manifest__.py b/child_compassion/__manifest__.py index c4f5c4599..36c38beb6 100644 --- a/child_compassion/__manifest__.py +++ b/child_compassion/__manifest__.py @@ -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", diff --git a/child_compassion/migrations/14.0.1.2.0/pre-migrate.py b/child_compassion/migrations/14.0.1.2.0/pre-migrate.py new file mode 100644 index 000000000..1be4578b7 --- /dev/null +++ b/child_compassion/migrations/14.0.1.2.0/pre-migrate.py @@ -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", + ), + ], + )