Commit 99616eb7 authored by Fabien Morin's avatar Fabien Morin

add XXX and comments


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36594 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e949639
......@@ -2078,7 +2078,11 @@ class ScribusParser:
object_dict = {}
# getting usefull properties for field generation
object_dict['title'] = str(properties_field['title'])
object_dict['erp_type'] = str(properties_field['type'])
object_dict['erp_type'] = str(properties_field['type']) # XXX why erp_type ?
# it's probably better to use something like
# object_dict['meta_type'] = field.getRecursiveTemplateField().meta_type
# this should also work for ProxyFields
object_dict['data_type'] = str(properties_field['data_type'])
object_dict['default'] = properties_field['default_data']
object_dict['nb'] = str(properties_field['nb'])
......
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