Commit da9d9ccf authored by Kevin Deldycke's avatar Kevin Deldycke

TALES expression of an editable field in listbox is not evaluated in the...

TALES expression of an editable field in listbox is not evaluated in the context of the object represented by the line of the listbox. Instead the context correspond to his parent. This modification correct that bug.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4021 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ac866e9
...@@ -68,7 +68,7 @@ def get_value(self, id, **kw): ...@@ -68,7 +68,7 @@ def get_value(self, id, **kw):
container = None container = None
kw['field'] = self kw['field'] = self
kw['form'] = form kw['form'] = form
kw['here'] = object kw['here'] = form
kw['container'] = container kw['container'] = container
try : try :
kw['preferences'] = object.getPortalObject()\ kw['preferences'] = object.getPortalObject()\
......
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