-
\ No newline at end of file
diff --git a/addons/portal_event/__init__.py b/addons/portal_event/__init__.py
deleted file mode 100644
index 70c078b769d..00000000000
--- a/addons/portal_event/__init__.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2011 OpenERP S.A ().
-#
-# 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 .
-#
-##############################################################################
-import portal_event
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
diff --git a/addons/portal_event/__openerp__.py b/addons/portal_event/__openerp__.py
deleted file mode 100644
index 88ca9815323..00000000000
--- a/addons/portal_event/__openerp__.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2011 OpenERP S.A ().
-#
-# 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 .
-#
-##############################################################################
-
-{
- 'name' : "Portal Event",
- 'version' : "1.0",
- 'depends' : ["portal", "event_sale"],
- 'author' : "OpenERP SA",
- 'category': 'Portal',
- 'description': """
-This module defines 'portals' to customize the access to your OpenERP database
-for external users.
- """,
- 'update_xml': [
- 'security/portal_event_security.xml',
- 'security/ir.model.access.csv',
- ],
- 'website': 'http://www.openerp.com',
- 'installable': True,
-}
-
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
diff --git a/addons/portal_event/portal_event.py b/addons/portal_event/portal_event.py
deleted file mode 100644
index 570bd3131b6..00000000000
--- a/addons/portal_event/portal_event.py
+++ /dev/null
@@ -1,47 +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 .
-#
-##############################################################################
-
-import time
-from osv import fields, osv
-from tools.translate import _
-
-class event_event(osv.osv):
- _inherit = 'event.event'
-
- def make_quotation(self, cr, uid, ids, context=None):
- event_pool = self.pool.get('event.event')
- register_pool = self.pool.get('event.registration')
- sale_order_line_pool = self.pool.get('sale.order.line')
- sale_order = self.pool.get('sale.order')
- partner_pool = self.pool.get('res.partner')
- prod_pricelist_obj = self.pool.get('product.pricelist')
- res_users_obj = self.pool.get('res.users')
- user = res_users_obj.browse(cr, uid, uid, context=context)
- partner_ids = partner_pool.search(cr, uid, [('name', '=', user.name), ('email', '=', user.user_email)])
- if partner_ids:
- res_users_obj.write(cr, uid, user.id, {'partner_id': partner_ids[0]})
- if not partner_ids:
- raise osv.except_osv(_('Error !'),
- _('There is no Partner defined ' \
- 'for this event:'))
- res = super(event_event,self).make_quotation(cr, uid, ids, context)
-
- return res
diff --git a/addons/portal_event/security/ir.model.access.csv b/addons/portal_event/security/ir.model.access.csv
deleted file mode 100644
index 0b3dfe5f3b2..00000000000
--- a/addons/portal_event/security/ir.model.access.csv
+++ /dev/null
@@ -1,6 +0,0 @@
-id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_event,event,event.model_event_event,portal_event.group_event_portal,1,0,0,0
-access_registration,registration,event.model_event_registration,portal_event.group_event_portal,1,0,0,0
-access_event_items,event.items,event.model_event_event,portal_event.group_event_portal,1,1,1,0
-access_product_product,product.product,product.model_product_product,portal_event.group_event_portal,1,0,0,0
-access_product_uom,product.uom,product.model_product_uom,portal_event.group_event_portal,1,0,0,0
\ No newline at end of file
diff --git a/addons/portal_event/security/portal_event_security.xml b/addons/portal_event/security/portal_event_security.xml
deleted file mode 100644
index 1202fcce3f5..00000000000
--- a/addons/portal_event/security/portal_event_security.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
- Event Portal Groups
-
-
-
-
- Portal User
-
-
-
-
-
- Personal Events
-
- []
-
-
-
-
- Personal Registrations
-
- [('partner_id.email','=',user.login)]
-
-
-
-
-
\ No newline at end of file