Skip to content

Commit

Permalink
Merge pull request #165 from gisce/59452_imp_email_preview_view_migra…
Browse files Browse the repository at this point in the history
…tion_script

Script de migración para la pull request #164
  • Loading branch information
lcbautista authored Jul 17, 2024
2 parents baa9be6 + cc96591 commit aed72ec
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions migrations/5.0.24.9.0/post-0001_update_preview_email_view.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from oopgrade.oopgrade import load_data_records


def up(cursor, installed_version):
if not installed_version:
return

load_data_records(cursor, 'poweremail', 'wizard/wizard_poweremail_preview.xml', ['poweremail_preview_form'])


def down(cursor, installed_version):
pass


migrate = up

0 comments on commit aed72ec

Please sign in to comment.