Commit a1fd6ace authored by Romain Courteaud's avatar Romain Courteaud

Check object type.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10591 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4de506b2
......@@ -45,6 +45,7 @@ class PropertyTypeValidity(Constraint):
# Initialize type dict
_type_dict = {
'object': (type('a'), ),
'string': (type('a'), ),
'text': (type('a'), ),
'int': (type(1), ),
......
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