Commit 170ceb95 authored by Sebastien Robin's avatar Sebastien Robin

added field cell_portal_type


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2401 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2b454bf0
...@@ -59,8 +59,8 @@ class MatrixBoxWidget(Widget.Widget): ...@@ -59,8 +59,8 @@ class MatrixBoxWidget(Widget.Widget):
""" """
property_names = Widget.Widget.property_names +\ property_names = Widget.Widget.property_names +\
['cell_base_id', 'lines', 'columns', 'tabs', ['cell_base_id', 'cell_portal_type',
'getter_method' , 'lines', 'columns', 'tabs', 'getter_method' ,
'editable_attributes' , 'global_attributes', 'editable_attributes' , 'global_attributes',
'update_cell_range' 'update_cell_range'
] ]
...@@ -133,6 +133,13 @@ class MatrixBoxWidget(Widget.Widget): ...@@ -133,6 +133,13 @@ class MatrixBoxWidget(Widget.Widget):
default='cell', default='cell',
required=0) required=0)
cell_portal_type = fields.StringField('cell_portal_type',
title='Portal Type for cells',
description=("""
The Portal Type for cells : This is the portal type used to construct a new cell."""),
default='Mapped Value',
required=0)
update_cell_range = fields.CheckBoxField('update_cell_range', update_cell_range = fields.CheckBoxField('update_cell_range',
title="Update Cell Range", title="Update Cell Range",
description=( description=(
......
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