From 453acd2f87a8ba6cf484c0ea6b309e2cfb1178fc Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sun, 8 Feb 2004 17:21:06 +0000 Subject: [PATCH] fixed Solanes typo getDefaultRegion removed (implemented by acquisisiotn system) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@409 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Entity.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/product/ERP5/Document/Entity.py b/product/ERP5/Document/Entity.py index a6f6ca7682..5edf4d4c3a 100755 --- a/product/ERP5/Document/Entity.py +++ b/product/ERP5/Document/Entity.py @@ -1,7 +1,7 @@ ############################################################################## # # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. -# Jean-Paul Smets-Solane <jp@nexedi.com> +# Jean-Paul Smets-Solanes <jp@nexedi.com> # # WARNING: This program as such is intended to be used by professional # programmers who take the whole responsability of assessing all potential @@ -59,16 +59,6 @@ class Entity: except: return '' - security.declareProtected(Permissions.View, 'getDefaultRegion') - def getDefaultRegion(self): - """ - Returns the default address as a text string - """ - try: - return self.getDefaultAddressValue().getDefaultRegion() - except: - return '' - security.declareProtected(Permissions.View, 'getDefaultAddressStreetAddress') def getDefaultAddressStreetAddress(self): """ -- 2.30.9