diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index 3bc8ff14ff6..68091a24df9 100755 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -89,13 +89,14 @@ - + + - + diff --git a/addons/event/wizard/event_registration.py b/addons/event/wizard/event_registration.py deleted file mode 100755 index 7640f040a99..00000000000 --- a/addons/event/wizard/event_registration.py +++ /dev/null @@ -1,60 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# 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 . -# -############################################################################## - -from osv import fields, osv - -class event_registration_list(osv.osv_memory): - """ List Event Registration """ - - _name = "event.registration.list" - _description = "List Event Registrations" - - def open_registration(self, cr, uid, ids, context={}): - """ - Open Event Registration form - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of Event registration list's IDs - @param context: A standard dictionary for contextual values - @return: Dictionary value which open Event registration form. - """ - - if not context.get('active_id', None): - return { - 'name': 'Event Registrations', - 'view_type': 'form', - 'view_mode': 'tree,form', - 'res_model': 'event.registration', - 'type': 'ir.actions.act_window' - } - - return { - 'domain': [('event_id', '=', context['active_id'])], - 'name': 'Event Registrations', - 'view_type': 'form', - 'view_mode': 'tree,form', - 'res_model': 'event.registration', - 'type': 'ir.actions.act_window' - } - -event_registration_list() - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/event/wizard/event_registration_view.xml b/addons/event/wizard/event_registration_view.xml deleted file mode 100755 index 75d90d9991e..00000000000 --- a/addons/event/wizard/event_registration_view.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - List Event Registrations - event.registration.list - form - -
- - - -