*replaced the email field on res.partner.address into a fields.related that links to the email address of the first job of the address (use of sequence)
bzr revid: qdp@tinyerp.com-20081007093956-ugg7df1tcb8rbbld
This commit is contained in:
parent
0950bacc7d
commit
7984a5cb8b
|
@ -92,6 +92,7 @@ class res_partner_address(osv.osv):
|
|||
_description ='Partner Address'
|
||||
_columns = {
|
||||
'job_ids':fields.one2many('res.partner.job', 'address_id', 'Contacts'),
|
||||
'email': fields.related('job_ids', 'email', type='char', string='Default Email'),
|
||||
}
|
||||
res_partner_address()
|
||||
|
||||
|
|
Loading…
Reference in New Issue