[Erp5-report] r24596 - /erp5/trunk/products/ERP5Type/RoleInformation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 14 13:14:45 CET 2008


Author: jerome
Date: Fri Nov 14 13:14:43 2008
New Revision: 24596

URL: http://svn.erp5.org?rev=24596&view=rev
Log:
initialize RoleDefinition.priority as a float, because it's imported as a float
by business template. This property does not seem to be used BTW

Modified:
    erp5/trunk/products/ERP5Type/RoleInformation.py

Modified: erp5/trunk/products/ERP5Type/RoleInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/RoleInformation.py?rev=24596&r1=24595&r2=24596&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/RoleInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/RoleInformation.py [utf8] Fri Nov 14 13:14:43 2008
@@ -58,7 +58,7 @@
         self.description = description
         self.category = category
         self.condition = condition
-        self.priority = priority
+        self.priority = float(priority)
         self.base_category = base_category
         self.base_category_script = base_category_script
 




More information about the Erp5-report mailing list