Skip to content

Commit 8e0fb4d

Browse files
authored
Merge pull request #2373 from ForgeFlow/13.0-mig-website_mail-script
[13.0][MIG] website_mail
2 parents 57de2ce + f5047c8 commit 8e0fb4d

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---Models in module 'website_mail'---
2+
---Fields in module 'website_mail'---
3+
---XML records in module 'website_mail'---
4+
DEL mail.channel: website_mail.channel_public (noupdate)
5+
# DONE: post-migration: try to delete
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright 2020 ForgeFlow <http://www.forgeflow.com>
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
from openupgradelib import openupgrade
4+
5+
6+
@openupgrade.migrate()
7+
def migrate(env, version):
8+
openupgrade.delete_records_safely_by_xml_id(
9+
env, [
10+
"website_mail.channel_public",
11+
]
12+
)

odoo/openupgrade/doc/source/modules120-130.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ missing in the new release are marked with |del|.
691691
+----------------------------------------------+-------------------------------------------------+
692692
|website_livechat | |
693693
+----------------------------------------------+-------------------------------------------------+
694-
|website_mail | |
694+
|website_mail | Done |
695695
+----------------------------------------------+-------------------------------------------------+
696696
|website_mail_channel | |
697697
+----------------------------------------------+-------------------------------------------------+

0 commit comments

Comments
 (0)