Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/openupgrade-addons/7.0-board into lp:openupgrade-addons.
Requested reviews: OpenUpgrade Committers (openupgrade-committers) For more details, see: https://code.launchpad.net/~therp-nl/openupgrade-addons/7.0-board/+merge/203525 The board module migration does not have a lot to it, but I'm dropping the obsolete view from 6.1. I'm currently working on gathering obsolete tables and dropping them in a controlled fashion. It does not seem to be a problem to find out which tables are obsolete by comparing them to tables currently in use by the orm, but there is no way to get this information for a view so these need to be dropped in the migration scripts. -- https://code.launchpad.net/~therp-nl/openupgrade-addons/7.0-board/+merge/203525 Your team OpenUpgrade Committers is requested to review the proposed merge of lp:~therp-nl/openupgrade-addons/7.0-board into lp:openupgrade-addons.
=== added file 'board/migrations/7.0.1.0/openupgrade_analysis_working.txt' --- board/migrations/7.0.1.0/openupgrade_analysis_working.txt 1970-01-01 00:00:00 +0000 +++ board/migrations/7.0.1.0/openupgrade_analysis_working.txt 2014-01-28 12:15:25 +0000 @@ -0,0 +1,51 @@ +---Fields in module 'board'--- +---XML records in module 'board'--- + +# actions, access rules and view elements don't need any actions + +NEW ir.actions.act_window: board.action_board_create +NEW ir.actions.act_window: board.open_board_my_dash_action +DEL ir.actions.act_window: board.action_board_menu_create +DEL ir.actions.act_window: board.action_latest_activities_tree +DEL ir.actions.act_window: board.action_user_connection_tree +DEL ir.actions.act_window: board.action_view_board_list_form +DEL ir.actions.act_window: board.board_monthly_res_log_report_action +DEL ir.actions.act_window: board.board_weekly_res_log_report_action +DEL ir.actions.act_window: board.open_board_administration_form +DEL ir.actions.client: board.action_application_tiles +DEL ir.actions.client: board.action_res_widgets_currency_converter +DEL ir.actions.client: board.action_res_widgets_events +DEL ir.actions.client: board.action_res_widgets_facebook +DEL ir.actions.client: board.action_res_widgets_map +DEL ir.actions.client: board.action_res_widgets_note +DEL ir.actions.client: board.action_res_widgets_tweets +DEL ir.actions.client: board.board_config_overview +DEL ir.actions.client: board.board_homepage_action +DEL ir.model.access: board.access_board_board system +DEL ir.model.access: board.access_board_board_line all +DEL ir.model.access: board.access_board_board_line system +DEL ir.model.access: board.access_res_log_report all +NEW ir.ui.menu: board.menu_board_create +NEW ir.ui.menu: board.menu_board_my_dash +DEL ir.ui.menu: base.menu_administration +DEL ir.ui.menu: base.menu_dashboard +DEL ir.ui.menu: base.menu_dashboard_admin +DEL ir.ui.menu: base.menu_reporting +DEL ir.ui.menu: board.menu_view_board_form +NEW ir.ui.view: board.board_my_dash_view +NEW ir.ui.view: board.view_board_create +DEL ir.ui.view: board.board_administration_form +DEL ir.ui.view: board.board_homepage_view +DEL ir.ui.view: board.board_res_log_report_graph +DEL ir.ui.view: board.board_weekly_res_log_report_graph +DEL ir.ui.view: board.view_board_form +DEL ir.ui.view: board.view_board_menu_create +DEL ir.ui.view: board.view_board_search +DEL ir.ui.view: board.view_board_tree +DEL ir.ui.view: board.view_res_log_report_filter +DEL ir.ui.view: board.view_res_log_report_tree +DEL ir.ui.view: board.view_user_connection_tree + +# False alarm, just dropping the standard action for this user + +DEL res.users: base.user_admin === added file 'board/migrations/7.0.1.0/pre-migration.py' --- board/migrations/7.0.1.0/pre-migration.py 1970-01-01 00:00:00 +0000 +++ board/migrations/7.0.1.0/pre-migration.py 2014-01-28 12:15:25 +0000 @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2014 Therp BV (<http://therp.nl>). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +############################################################################## + +from openerp.tools import drop_view_if_exists +from openerp.openupgrade import openupgrade + [email protected]() +def migrate(cr, version): + drop_view_if_exists(cr, 'res_log_report')
-- Mailing list: https://launchpad.net/~credativ Post to : [email protected] Unsubscribe : https://launchpad.net/~credativ More help : https://help.launchpad.net/ListHelp

