Commit 09ca606c authored by Romain Courteaud's avatar Romain Courteaud

Lines must not be obligatory, because sometimes, we want to display empty matrixbox.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2745 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a52f787
...@@ -89,7 +89,7 @@ class MatrixBoxWidget(Widget.Widget): ...@@ -89,7 +89,7 @@ class MatrixBoxWidget(Widget.Widget):
couple[0] is the variation, and couple[1] is the name displayed to the user. couple[0] is the variation, and couple[1] is the name displayed to the user.
For example (('size/baby/02','baby/02'),('size/baby/03','baby/03')), Required"""), For example (('size/baby/02','baby/02'),('size/baby/03','baby/03')), Required"""),
default=[], default=[],
required=1) required=0)
tabs = fields.ListTextAreaField('tabs', tabs = fields.ListTextAreaField('tabs',
title="Tabs", title="Tabs",
......
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