[gen] Ref field has now global actions like 'unlink many', 'link many' and 'delete many'.

This commit is contained in:
Gaetan Delannay 2014-04-04 16:49:22 +02:00
parent e7c20f8d2b
commit 3621d0da92
12 changed files with 151 additions and 43 deletions

View file

@ -823,7 +823,7 @@ class XmlMarshaller:
v = field.getValue(instance)
elif field.type == 'Ref':
fieldType = 'ref'
v = field.getValue(instance, type='zobjects')
v = field.getValue(instance, appy=False)
else:
v = field.getValue(instance)
self.dumpField(res, field.name, v, fieldType=fieldType)