Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
ae8b1f99
Commit
ae8b1f99
authored
Jul 08, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_catalog: Rename multiple_selection in configurators
parent
b4f38415
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
product/ERP5Configurator/Document/PreferenceConfiguratorItem.py
...t/ERP5Configurator/Document/PreferenceConfiguratorItem.py
+1
-1
product/ERP5Configurator/Document/SystemPreferenceConfiguratorItem.py
...Configurator/Document/SystemPreferenceConfiguratorItem.py
+1
-1
No files found.
product/ERP5Configurator/Document/PreferenceConfiguratorItem.py
View file @
ae8b1f99
...
@@ -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
...
...
product/ERP5Configurator/Document/SystemPreferenceConfiguratorItem.py
View file @
ae8b1f99
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment