From 170ceb95a44d57eca9049c0c4f75e8fa38c9e59c Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Thu, 3 Feb 2005 14:59:27 +0000
Subject: [PATCH] added field cell_portal_type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2401 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/MatrixBox.py | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Form/MatrixBox.py b/product/ERP5Form/MatrixBox.py
index 317d276043..e72ff6dd8c 100755
--- a/product/ERP5Form/MatrixBox.py
+++ b/product/ERP5Form/MatrixBox.py
@@ -59,8 +59,8 @@ class MatrixBoxWidget(Widget.Widget):
 
     """
     property_names = Widget.Widget.property_names +\
-                     ['cell_base_id', 'lines', 'columns', 'tabs',
-                      'getter_method' ,
+                     ['cell_base_id', 'cell_portal_type',
+                      'lines', 'columns', 'tabs', 'getter_method' ,
                       'editable_attributes' , 'global_attributes',
                       'update_cell_range'
                        ]
@@ -133,6 +133,13 @@ class MatrixBoxWidget(Widget.Widget):
                                  default='cell',
                                  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',
                                   title="Update Cell Range",
                                   description=(
-- 
2.30.9