Commit 0a610558 authored by Fabien Morin's avatar Fabien Morin

add the property birthplace_address to define where a person is born


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22172 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8105c9ea
...@@ -78,6 +78,20 @@ class Person: ...@@ -78,6 +78,20 @@ class Person:
, 'type' : 'date' , 'type' : 'date'
, 'mode' : 'w' , 'mode' : 'w'
}, },
{ 'id' : 'birthplace_address'
, 'description' : 'The current address where the person is'\
' born'
, 'type' : 'content'
, 'portal_type' : ( 'Address', )
, 'acquired_property_id' : ( 'text', 'street_address', 'city',
'zip_code', 'region', 'region_title')
, 'acquisition_copy_value' : 0
, 'acquisition_mask_value' : 1
, 'acquisition_sync_value' : 0
, 'acquisition_accessor_id' : 'getDefaultBirthplaceAddressValue'
, 'acquisition_depends' : None
, 'mode' : 'w'
},
{ 'id' : 'social_code' { 'id' : 'social_code'
, 'description': 'The social code of this person.' , 'description': 'The social code of this person.'
, 'type' : 'string' , 'type' : 'string'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment