Commit ae8b1f99 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Rename multiple_selection in configurators

parent b4f38415
...@@ -66,7 +66,7 @@ class PreferenceConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -66,7 +66,7 @@ class PreferenceConfiguratorItem(ConfiguratorItemMixin, XMLObject):
list_prefix = '' list_prefix = ''
if prop.getProperty('multivalued') or ( if prop.getProperty('multivalued') or (
prop.getProperty('elementary_type') in ( prop.getProperty('elementary_type') in (
'lines', 'multiple_selection', 'tokens')): 'lines', 'multiple selection', 'tokens')):
list_prefix = '_list' list_prefix = '_list'
property_id_list.append('%s%s' % (prop.getReference(), list_prefix)) property_id_list.append('%s%s' % (prop.getReference(), list_prefix))
return property_id_list return property_id_list
......
...@@ -67,7 +67,7 @@ class SystemPreferenceConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -67,7 +67,7 @@ class SystemPreferenceConfiguratorItem(ConfiguratorItemMixin, XMLObject):
list_prefix = '' list_prefix = ''
if prop.getProperty('multivalued') or ( if prop.getProperty('multivalued') or (
prop.getProperty('elementary_type') in ( prop.getProperty('elementary_type') in (
'lines', 'multiple_selection', 'tokens')): 'lines', 'multiple selection', 'tokens')):
list_prefix = '_list' list_prefix = '_list'
property_id_list.append('%s%s' % (prop.getReference(), list_prefix)) property_id_list.append('%s%s' % (prop.getReference(), list_prefix))
return property_id_list return property_id_list
......
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