Commit 17c5133e authored by Jean-Paul Smets's avatar Jean-Paul Smets

Updated property


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@753 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0179b51
...@@ -62,19 +62,6 @@ class Person: ...@@ -62,19 +62,6 @@ class Person:
'description' : 'The social code of this person', 'description' : 'The social code of this person',
'type' : 'string', 'type' : 'string',
'mode' : 'w' }, 'mode' : 'w' },
# Subordination properties
{ 'id' : 'organisation_title',
'description' : 'The organisations this persons works for',
'type' : 'string',
'acquisition_base_category' : ('subordination',),
'acquisition_portal_type' : ('Organisation',),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 0,
'acquisition_sync_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'mode' : 'w' },
# Contact fields # Contact fields
{ 'id' : 'address', { 'id' : 'address',
'storage_id' : 'default_address', 'storage_id' : 'default_address',
...@@ -128,12 +115,23 @@ class Person: ...@@ -128,12 +115,23 @@ class Person:
'acquisition_accessor_id' : 'getDefaultEmailValue', 'acquisition_accessor_id' : 'getDefaultEmailValue',
'acquisition_depends' : None, 'acquisition_depends' : None,
'mode' : 'w' }, 'mode' : 'w' },
# Subordination properties
{ 'id' : 'career', { 'id' : 'career',
'storage_id' : 'default_career', 'storage_id' : 'default_career',
'description' : 'The current career status of a person.', 'description' : 'The current career status of a person.',
'type' : 'content', 'type' : 'content',
'portal_type' : ('Career'), 'portal_type' : ('Career'),
'acquisition_depends' : None,
# 'acquisition_base_category' : ('subordination', ), # Useless
# 'acquisition_portal_type' : ('Organisation',), # Useless
# 'acquisition_copy_value' : 0, # Useless
# 'acquisition_mask_value' : 1, # Useless
# 'acquisition_sync_value' : 0, # Useless
# 'acquisition_accessor_id' : 'getDefaultEmailValue', # Useless
# 'acquisition_depends' : None,
'acquired_property_id' : ('title', 'subordination_title', 'subordination'), # User address_region_uid_list to forward accessors
'mode' : 'w' }, 'mode' : 'w' },
) )
......
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