Commit bd1d05ce authored by Jérome Perrin's avatar Jérome Perrin

cell getter method must be called on the context which might have been returned

by the context getter method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43675 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e0210c22
......@@ -243,7 +243,7 @@ class MatrixBoxWidget(Widget.Widget):
field_errors = REQUEST.get('field_errors', {})
cell_getter_method_id = field.get_value('cell_getter_method')
if cell_getter_method_id not in (None, ''):
cell_getter_method = getattr(here, cell_getter_method_id)
cell_getter_method = getattr(context, cell_getter_method_id)
else:
cell_getter_method = context.getCell
editable_attributes = field.get_value('editable_attributes')
......
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