Commit 232bf1ba authored by Sebastien Robin's avatar Sebastien Robin

replaced :

  cell_body += my_field.render(value...
with :
  cell_body += str(my_field.render(value...

So that if we want fields non editable, we doesn't have error (str + float)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@229 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 94094bee
......@@ -274,7 +274,7 @@ class MatrixBoxWidget(Widget.Widget):
LOG("Cell",0,str(kw))
attribute_value = my_field.get_value('default', cell = cell,
cell_index = kw, cell_position = (i,j, k))
cell_body += my_field.render(value = attribute_value, REQUEST = REQUEST, key = key)
cell_body += str(my_field.render(value = attribute_value, REQUEST = REQUEST, key = key))
list_body = list_body + \
('<td class=\"%s\">%s</td>' % (td_css, cell_body))
j += 1
......
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