Commit 7e414004 authored by Vincent Pelletier's avatar Vincent Pelletier

(Multi|)RelationField: make portal_type optional.

Code tolerates this with no change.
Allows jumping to an existing relation without having to hard-code
(potentially a lot of) portal types.
parent 7ad60118
......@@ -109,7 +109,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
description=(
"The method to call to set the relation. Required."),
default="",
required=1)
required=0)
allow_creation = fields.CheckBoxField('allow_creation',
title='Allow Creation',
......
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