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
Expand Up @@ -8,8 +8,11 @@ DEL ir.actions.todo: base.open_menu
DEL ir.cron: survey.ir_cron_clean_empty_surveys
NEW ir.ui.view: survey.survey_survey_view_search
NEW ir.values: survey.survey_values_action_clean_test_answers
# NOTHING TO DO
NEW res.groups: survey.group_survey_manager
NEW res.groups: survey.group_survey_user
DEL res.groups: base.group_survey_manager
DEL res.groups: base.group_survey_user
# Done: Rename the old groups to the new ones
NEW res.users: base.default_user
# NOTHING TO DO
14 changes: 14 additions & 0 deletions addons/survey/migrations/10.0.2.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- 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

xmlid_renames = [
('base.group_survey_user', 'survey.group_survey_user'),
('base.group_survey_manager', 'survey.group_survey_manager'),
]


@openupgrade.migrate()
def migrate(env, version):
openupgrade.rename_xmlids(env.cr, xmlid_renames)
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 @@ -467,7 +467,7 @@ missing in the new release are marked with |del|.
+-----------------------------------+-----------------------------------+
|subscription | Nothing to do |
+-----------------------------------+-----------------------------------+
|survey | Nothing to do |
|survey | Done |
+-----------------------------------+-----------------------------------+
|survey_crm | Nothing to do |
+-----------------------------------+-----------------------------------+
Expand Down