Commit dcab943f authored by Romain Courteaud's avatar Romain Courteaud

Made this property sheet more generic, and remove Coramy compatibilities.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2513 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2ca014e0
No related merge requests found
...@@ -35,7 +35,6 @@ class TransformedResource: ...@@ -35,7 +35,6 @@ class TransformedResource:
_properties = ( _properties = (
# Definition of the variation domain # Definition of the variation domain
{ 'id' : 'q_variation_base_category', { 'id' : 'q_variation_base_category',
'storage_id' : 'q_variation_base_category_list', # Coramy Compatibility
'description' : 'A list of base categories which define possible discrete variations. '\ 'description' : 'A list of base categories which define possible discrete variations. '\
'Variation ranges are stored as category membership. '\ 'Variation ranges are stored as category membership. '\
'(prev. variation_category_list).', '(prev. variation_category_list).',
...@@ -43,31 +42,19 @@ class TransformedResource: ...@@ -43,31 +42,19 @@ class TransformedResource:
'default' : [], 'default' : [],
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'v_variation_base_category', { 'id' : 'v_variation_base_category',
'storage_id' : 'v_variation_base_category_list', # Coramy Compatibility
'description' : 'A list of base categories which define possible discrete variations. '\ 'description' : 'A list of base categories which define possible discrete variations. '\
'Variation ranges are stored as category membership. '\ 'Variation ranges are stored as category membership. '\
'(prev. variation_category_list).', '(prev. variation_category_list).',
'type' : 'lines', 'type' : 'lines',
'default' : [], 'default' : [],
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'identical_variation_base_category', # XXX does not seem to be used anymore
'storage_id' : 'identical_variation_base_category_list', # Coramy Compatibility # { 'id' : 'identical_variation_base_category',
'description' : 'A list of base categories which keep an identical value to the default resource.', # #'storage_id' : 'identical_variation_base_category_list', # Coramy Compatibility
'type' : 'lines', # 'description' : 'A list of base categories which keep an identical value to the default resource.',
'default' : [], # 'type' : 'lines',
'mode' : 'w' }, # 'default' : [],
{ 'id' : 'specialise_id', # 'mode' : 'w' },
'type' : 'string',
'description' : '',
'acquisition_base_category' : ('specialise',),
'acquisition_portal_type' : ('Grille Consommation',),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 0,
'acquisition_sync_value' : 0,
'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None,
'mode' : 'w' },
) )
_categories = ('specialise', 'industrial_phase', ) _categories = ('specialise', 'industrial_phase', )
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