Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kasra Jamshidi
erp5
Commits
933dbee1
Commit
933dbee1
authored
9 years ago
by
Kazuhiko Shiozaki
Browse files
Options
Download
Email Patches
Plain Diff
Business Template: sort skin selection list when exporting to xml.
parent
7f226d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+1
-1
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
933dbee1
...
...
@@ -1744,7 +1744,7 @@ class RegisteredSkinSelectionTemplateItem(BaseTemplateItem):
xml_data
+=
'
\n
<skin_folder_selection>'
xml_data
+=
'
\n
<skin_folder>%s</skin_folder>'
%
key
xml_data
+=
'
\n
<skin_selection>%s</skin_selection>'
\
%
','
.
join
(
skin_selection_list
)
%
','
.
join
(
sorted
(
skin_selection_list
)
)
xml_data
+=
'
\n
</skin_folder_selection>'
xml_data
+=
'
\n
</registered_skin_selection>'
return
xml_data
...
...
This diff is collapsed.
Click to expand it.
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