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:
_properties = (
# Definition of the variation domain
{ '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. '\
'Variation ranges are stored as category membership. '\
'(prev. variation_category_list).',
......@@ -43,31 +42,19 @@ class TransformedResource:
'default' : [],
'mode' : 'w' },
{ '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. '\
'Variation ranges are stored as category membership. '\
'(prev. variation_category_list).',
'type' : 'lines',
'default' : [],
'mode' : 'w' },
{ 'id' : 'identical_variation_base_category',
'storage_id' : 'identical_variation_base_category_list', # Coramy Compatibility
'description' : 'A list of base categories which keep an identical value to the default resource.',
'type' : 'lines',
'default' : [],
'mode' : 'w' },
{ 'id' : 'specialise_id',
'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' },
# XXX does not seem to be used anymore
# { 'id' : 'identical_variation_base_category',
# #'storage_id' : 'identical_variation_base_category_list', # Coramy Compatibility
# 'description' : 'A list of base categories which keep an identical value to the default resource.',
# 'type' : 'lines',
# 'default' : [],
# 'mode' : 'w' },
)
_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