Commit 9933af55 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by wenjie.zheng

(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 1b4d72f2
......@@ -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