diff --git a/muskathlon/data/mail_template.xml b/muskathlon/data/mail_template.xml index 2cfe91b..08c4007 100644 --- a/muskathlon/data/mail_template.xml +++ b/muskathlon/data/mail_template.xml @@ -110,7 +110,7 @@ name="email_template_id" ref="ambassador_donation_confirmation_template" /> - + diff --git a/muskathlon/migrations/14.0.1.0.0/pre-migrate.py b/muskathlon/migrations/14.0.1.0.0/pre-migrate.py index 7d75f1d..f4620f6 100644 --- a/muskathlon/migrations/14.0.1.0.0/pre-migrate.py +++ b/muskathlon/migrations/14.0.1.0.0/pre-migrate.py @@ -22,9 +22,9 @@ "data/res_users.xml", "data/product.xml", "data/mail_template.xml", + "data/event_registration_stage.xml", "data/event_type.xml", "data/event_registration_task.xml", - "data/event_registration_stage.xml", "data/event_type_mail.xml", "data/website.xml", "templates/muskathlon_page.xml", diff --git a/website_event_compassion/migrations/14.0.1.1.0/post-migration.py b/website_event_compassion/migrations/14.0.1.1.0/post-migration.py new file mode 100644 index 0000000..6cd964a --- /dev/null +++ b/website_event_compassion/migrations/14.0.1.1.0/post-migration.py @@ -0,0 +1,8 @@ +def migrate(cr, version): + cr.execute( + """ + UPDATE event_type + SET compassion_event_type = 'tour' + WHERE compassion_event_type = 'group_visit' + """ + ) diff --git a/website_event_compassion/migrations/14.0.1.1.0/pre-migrate.py b/website_event_compassion/migrations/14.0.1.1.0/pre-migration.py similarity index 78% rename from website_event_compassion/migrations/14.0.1.1.0/pre-migrate.py rename to website_event_compassion/migrations/14.0.1.1.0/pre-migration.py index 914c5a7..cb0be24 100644 --- a/website_event_compassion/migrations/14.0.1.1.0/pre-migrate.py +++ b/website_event_compassion/migrations/14.0.1.1.0/pre-migration.py @@ -20,10 +20,3 @@ def migrate(cr, version): WHERE name = 'website_switzerland' """ ) - cr.execute( - """ - UPDATE event_type - SET compassion_event_type = 'tour' - WHERE compassion_event_type = 'group_visit' - """ - )