bruth opened this issue 12 years ago · 1 comments
This is a common idiom:
template = { 'fields': ['chr'], 'key_map': { 'chr': 'label', }, 'merge': True, }
Which maps a single field on the related model and merges it into the parent model under the same name.
Implemented using the flat option for model instances.
flat