Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---Fields in module 'im_livechat'---
---XML records in module 'im_livechat'---
NEW ir.actions.act_window: im_livechat.im_livechat_canned_response_action
NEW ir.actions.act_window.view: im_livechat.mail_channel_action_livechat_form
NEW ir.actions.act_window.view: im_livechat.mail_channel_action_livechat_tree
# NOTHING TO DO
DEL ir.actions.client: im_livechat.ir_action_client_open_livechat_menu
DEL ir.actions.todo: base.open_menu
DEL ir.cron: im_livechat.ir_cron_remove_empty_session
# Done: pre-migration. Removed noupdate=1 xmlids
NEW ir.ui.menu: im_livechat.canned_responses
NEW ir.ui.menu: im_livechat.livechat_config
NEW ir.ui.view: im_livechat.im_livechat_canned_response_view_tree
NEW mail.shortcode: im_livechat.mail_shortcode_rating_1
NEW res.users: base.default_user
# NOTHING TO DO
15 changes: 15 additions & 0 deletions addons/im_livechat/migrations/10.0.1.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Eficent <http://www.eficent.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade

xml_ids = [
'im_livechat.ir_action_client_open_livechat_menu',
'im_livechat.ir_cron_remove_empty_session',
]


@openupgrade.migrate()
def migrate(env, version):
for xml_id in xml_ids:
env.ref(xml_id).unlink()
2 changes: 1 addition & 1 deletion odoo/openupgrade/doc/source/modules90-100.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ missing in the new release are marked with |del|.
+-----------------------------------+-----------------------------------+
|hw_scanner | |
+-----------------------------------+-----------------------------------+
|im_livechat | |
|im_livechat | Done |
+-----------------------------------+-----------------------------------+
| |del| im_odoo_support | |
+-----------------------------------+-----------------------------------+
Expand Down