[gen] Ref field: param 'shownInfo' can now be a method.
This commit is contained in:
parent
c53654a1a1
commit
12836a40dc
4 changed files with 25 additions and 18 deletions
|
@ -825,7 +825,8 @@ class XmlMarshaller:
|
|||
and (field.name not in self.fieldsToMarshall): continue
|
||||
# Determine field type and value
|
||||
fieldType = (field.type == 'File') and 'file' or 'basic'
|
||||
v = field.getXmlValue(instance, field.getValue(instance))
|
||||
v = field.getXmlValue(instance.appy(),
|
||||
field.getValue(instance))
|
||||
self.dumpField(res, field.name, v, fieldType=fieldType)
|
||||
# Dump the object history
|
||||
if hasattr(instance.aq_base, 'workflow_history'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue