Commit e250ec86 authored by Jérome Perrin's avatar Jérome Perrin

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


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24596 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4bd858d
...@@ -58,7 +58,7 @@ class RoleInformation( SimpleItem ): ...@@ -58,7 +58,7 @@ class RoleInformation( SimpleItem ):
self.description = description self.description = description
self.category = category self.category = category
self.condition = condition self.condition = condition
self.priority = priority self.priority = float(priority)
self.base_category = base_category self.base_category = base_category
self.base_category_script = base_category_script self.base_category_script = base_category_script
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment