New field type (fields.related)

New field type is added in trunk.
In tree view of partner you can see country and city of first partner's address.
Following fields are added in partner object.
'city':fields.related('address', 'city', type='char',string='City'),

Where address is the one2many field on partner object.


Popular posts from this blog

OpenERP Installation Guide