From 7de7e18f119be370bd6edb3b827de971282d4e07 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Mon, 19 Sep 2005 12:48:04 +0000 Subject: [PATCH] Correct a bug occur when trying to add a new role definition with older role definition git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3799 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/RoleInformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/RoleInformation.py b/product/ERP5Type/RoleInformation.py index 806dc9a3f6..8e699ca5eb 100755 --- a/product/ERP5Type/RoleInformation.py +++ b/product/ERP5Type/RoleInformation.py @@ -146,7 +146,7 @@ class RoleInformation( SimpleItem ): , condition=self.getCondition() , priority =self.priority , base_category=self.base_category - , base_category_script=self.base_category_script + , base_category_script=getattr(self, 'base_category_script', '') ) InitializeClass( RoleInformation ) -- 2.30.9