[gen] Bugfix in the Ref field in edit mode.

This commit is contained in:
Gaetan Delannay 2014-04-18 22:00:37 +02:00
parent 16442341f0
commit ff7c300dd0
2 changed files with 2 additions and 2 deletions

View file

@ -408,7 +408,7 @@ class Ref(Field):
pxEdit = Px('''
<select if="field.link"
var2="objects=field.getPossibleValues(zobj);
uids=getattr(zobj, field.name, ())"
uids=[o.id for o in field.getValue(zobj, appy=False)]"
name=":name" id=":name" size=":isMultiple and field.height or ''"
onchange=":field.getOnChange(zobj, layoutType)"
multiple=":isMultiple">