Commit 8dcf5055 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Remove range from range properties.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5640 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fba47432
...@@ -1059,6 +1059,7 @@ def setDefaultProperties(property_holder, object=None): ...@@ -1059,6 +1059,7 @@ def setDefaultProperties(property_holder, object=None):
if prop.get('range', 0): if prop.get('range', 0):
for value in ('min', 'max'): for value in ('min', 'max'):
range_prop = prop.copy() range_prop = prop.copy()
del range_prop['range']
if 'storage_id' in range_prop: if 'storage_id' in range_prop:
del range_prop['storage_id'] del range_prop['storage_id']
if range_prop.get('acquisition_accessor_id', 0): if range_prop.get('acquisition_accessor_id', 0):
......
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