Commit 9cbb0e08 authored by Kevin Deldycke's avatar Kevin Deldycke

Clean up


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2580 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ac99792
......@@ -55,19 +55,6 @@ class Assignment(Path):
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'mode' : 'w' },
{ 'id' : 'address',
'description' : 'The organisations this persons works for',
'type' : 'content',
'portal_type' : ('Address'),
'acquisition_base_category' : ('subordination', ),
'acquisition_portal_type' : ('Organisation',),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 1,
'acquisition_sync_value' : 0,
'acquisition_accessor_id' : 'getDefaultAddressValue',
'acquisition_depends' : None,
'mode' : 'r' },
)
_categories = ('activity', 'function', 'grade', 'role', 'skill', 'destination', 'group', 'product_line', 'subordination', 'region', )
_categories = ('activity', 'function', 'grade', 'site', 'role', 'skill', 'destination', 'group', 'subordination',)
......@@ -157,27 +157,6 @@ class Organisation:
'description' : 'The date which ends the organisation financial year',
'type' : 'date',
'mode' : 'w' },
# XXXX Coramy Specific : needs to be transfered in Coramy Organisation
# as soon as possible
{ 'id' : 'code_comptable',
'description' : 'The reference of the organisation for accounting application',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'ean13_code',
'description' : 'The ean_13 of the organisation',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'eu_vat_code',
'description' : 'The european vat code of the organisation',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'siren_code',
'description' : 'The french siren code of the organisation',
'type' : 'string',
'mode' : 'w' },
)
_categories = ( 'role', 'group', 'activity', 'skill', 'market_segment', 'region',
......@@ -185,4 +164,3 @@ class Organisation:
'destination_section', 'price_currency', 'economical_class', 'site',
# Virtual Categories
'source_region', 'destination_region', )
\ No newline at end of file
......@@ -67,7 +67,7 @@ class Person:
# Contact fields
{ 'id' : 'address',
'storage_id' : 'default_address',
'description' : 'The organisations this persons works for',
'description' : 'The current address of the person',
'type' : 'content',
'portal_type' : ('Address'),
'acquisition_base_category' : ('subordination', ),
......@@ -81,7 +81,7 @@ class Person:
'mode' : 'w' },
{ 'id' : 'telephone',
'storage_id' : 'default_telephone',
'description' : 'The organisations this persons works for',
'description' : 'The current telephone of the person',
'type' : 'content',
'portal_type' : ('Telephone'),
'acquisition_base_category' : ('subordination', ),
......@@ -94,7 +94,7 @@ class Person:
'mode' : 'w' },
{ 'id' : 'fax',
'storage_id' : 'default_fax',
'description' : 'The organisations this persons works for',
'description' : 'The current fax of the person',
'type' : 'content',
'portal_type' : ('Fax'),
'acquisition_base_category' : ('subordination', ),
......@@ -107,7 +107,7 @@ class Person:
'mode' : 'w' },
{ 'id' : 'email',
'storage_id' : 'default_email',
'description' : 'The organisations this persons works for',
'description' : 'The current email of the person',
'type' : 'content',
'portal_type' : ('Email'),
'acquisition_base_category' : ('subordination', ),
......@@ -121,27 +121,18 @@ class Person:
# Subordination properties
{ 'id' : 'career',
'storage_id' : 'default_career',
'description' : 'The current career status of a person.',
'description' : 'The current career step of a person.',
'type' : 'content',
'portal_type' : ('Career'),
# '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',
'value_uids','subordination_uid_list', 'role', 'skill_list', 'product_line_list', 'function', 'group', 'activity', 'grade', 'default_address_value'), # User address_region_uid_list to forward accessors
'acquired_property_id' : ('subordination_title', 'subordination', 'value_uids',
'subordination_uid_list',
'grade', 'skill_list', 'role',
),
'mode' : 'w' },
)
_categories = ( 'group', 'market_segment', 'region', 'role', 'function', 'activity',
'gender', 'product_line', 'subordination', 'assignment', 'nationality',
'marital_status',
_categories = ( 'region', 'gender', 'product_line', 'subordination', 'nationality', 'marital_status',
# Acquired Categories via Career
'grade', 'role',
# Virtual Categories
'source_region', 'destination_region', )
\ No newline at end of file
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