From 9cc33004f60a37604d5d3c7476776c4f95ad2867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 12 Apr 2013 14:51:46 +0200 Subject: [PATCH] [CLEAN] event: light cleaning. bzr revid: tde@openerp.com-20130412125146-ec2moex2e802skrz --- addons/event/event.py | 1 - addons/portal_event/security/portal_security.xml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/event/event.py b/addons/event/event.py index cdaf333f749..96bd32e0619 100644 --- a/addons/event/event.py +++ b/addons/event/event.py @@ -174,7 +174,6 @@ class event_event(osv.osv): return res def _get_visibility_selection(self, cr, uid, context=None): - """ Overriden in project_issue to offer more options """ return [('public', 'All Users'), ('employees', 'Employees Only')] # Lambda indirection method to avoid passing a copy of the overridable method when declaring the field diff --git a/addons/portal_event/security/portal_security.xml b/addons/portal_event/security/portal_security.xml index 7c9c1afc81d..6177ae5944e 100644 --- a/addons/portal_event/security/portal_security.xml +++ b/addons/portal_event/security/portal_security.xml @@ -2,7 +2,7 @@ - + Event: portal and anonymous users: public only ['|', @@ -13,7 +13,7 @@ - + Event/Registration: portal and anonymous users: personal only [('user_id', '=', user.id)]