Commit ee38c87f authored by Romain Courteaud's avatar Romain Courteaud

Remove default_module from the properties.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5543 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent caf20419
......@@ -54,7 +54,7 @@ class RelationStringFieldWidget(Widget.TextWidget, Widget.ListWidget):
"""
property_names = Widget.TextWidget.property_names + \
['update_method', 'jump_method', 'allow_jump', 'base_category', 'portal_type', 'allow_creation', 'catalog_index',
'default_module', 'relation_setter_id', 'columns','sort','parameter_list','list_method',
'relation_setter_id', 'columns','sort','parameter_list','list_method',
'first_item', 'items', 'size', 'extra_item']
# XXX Field to remove...
......@@ -107,13 +107,6 @@ class RelationStringFieldWidget(Widget.TextWidget, Widget.ListWidget):
default="",
required=1)
default_module = fields.StringField('default_module',
title='Default Module',
description=(
"The module which should be invoked to create new objects."),
default="",
required=1)
# XXX Is it a good idea to keep such a field ??
# User can redefine setter method with a script (and so, don't use the API)
relation_setter_id = fields.StringField('relation_setter_id',
......
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