diff --git a/product/ERP5Type/RoleInformation.py b/product/ERP5Type/RoleInformation.py index 806dc9a3f6210fc709991b68e59eb6f03ec32a84..8e699ca5eb05df1affd3fb364a615238becbdc65 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 )