From c756e0b0faf5b5f4d75af0901054de106ed0d89f Mon Sep 17 00:00:00 2001 From: "atp (Open ERP)" Date: Tue, 22 Jun 2010 20:30:35 +0530 Subject: [PATCH] [Fix]: remove some .moved file. bzr revid: atp@tinyerp.co.in-20100622150035-ueu35w1vrzrl3y2j --- addons/event/event_view.xml | 5 +- addons/event/wizard/event_registration.py | 60 ------------------- .../event/wizard/event_registration_view.xml | 43 ------------- .../wizard/crm_make_sale_view.xml.moved | 43 ------------- 4 files changed, 3 insertions(+), 148 deletions(-) delete mode 100755 addons/event/wizard/event_registration.py delete mode 100755 addons/event/wizard/event_registration_view.xml delete mode 100644 addons/sale_crm/wizard/crm_make_sale_view.xml.moved 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 - -
- - - -