diff --git a/migrations/5.0.24.5.0/post-0001_update_poweremail_mailbox_view.py b/migrations/5.0.24.5.0/post-0001_update_poweremail_mailbox_view.py new file mode 100644 index 0000000..9cf6ab7 --- /dev/null +++ b/migrations/5.0.24.5.0/post-0001_update_poweremail_mailbox_view.py @@ -0,0 +1,19 @@ +# -*- 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', 'poweremail_mailbox_view.xml', + ['view_poweremail_mailbox_2_form'] + ) + + +def down(cursor, installed_version): + pass + + +migrate = up diff --git a/poweremail_mailbox_view.xml b/poweremail_mailbox_view.xml index a72373b..193fed2 100644 --- a/poweremail_mailbox_view.xml +++ b/poweremail_mailbox_view.xml @@ -97,6 +97,24 @@ + + poweremail_mailbox.form_2 + poweremail.mailbox + form + 2 + + + + + html_preview + + + html_preview + + + + +