Commit c2deeef2 authored by Fabien Morin's avatar Fabien Morin

change variable name and add the property social_insurance_annotation_line


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17692 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6246316
...@@ -33,9 +33,9 @@ class DefaultAnnotationLine: ...@@ -33,9 +33,9 @@ class DefaultAnnotationLine:
_properties = ( _properties = (
# Acquisition # Acquisition
{ 'id' : 'annotation_line', { 'id' : 'work_time_annotation_line',
'storage_id' : 'default_annotation_line', 'storage_id' : 'work_time_annotation_line',
'description' : 'The default annotation line', 'description' : 'The duration of worked time',
'type' : 'content', 'type' : 'content',
'portal_type' : ('Annotation Line',), 'portal_type' : ('Annotation Line',),
'acquired_property_id' : ('source_section', 'source_section_title', 'acquired_property_id' : ('source_section', 'source_section_title',
...@@ -47,4 +47,19 @@ class DefaultAnnotationLine: ...@@ -47,4 +47,19 @@ class DefaultAnnotationLine:
'resource_title', 'quantity', 'resource_title', 'quantity',
'quantity_unit', 'quantity_unit_title'), 'quantity_unit', 'quantity_unit_title'),
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'social_insurance_annotation_line',
'storage_id' : 'social_insurance_annotation_line',
'description' : "The Social Insurance annotation line, it's used to"
" display information on Social Insurance",
'type' : 'content',
'portal_type' : ('Annotation Line',),
'acquired_property_id' : ('source', 'source_title',
'source_uid',
'destination',
'destination_uid',
'destination_title',
'resource_uid',
'resource_title', 'quantity',
'quantity_unit', 'quantity_unit_title'),
'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