Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
erp5
Commits
99c67eb9
Commit
99c67eb9
authored
Feb 13, 2022
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not add an extra empty entry to read-only parallel list fields
parent
f9e529e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_hashCategoryList.py
...plateItem/portal_skins/erp5_core/Base_hashCategoryList.py
+2
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_hashCategoryList.py
View file @
99c67eb9
...
@@ -24,7 +24,8 @@ for value in value_list:
...
@@ -24,7 +24,8 @@ for value in value_list:
new_dict
[
'value'
]
=
value
new_dict
[
'value'
]
=
value
sub_field_list
.
append
(
new_dict
)
sub_field_list
.
append
(
new_dict
)
sub_field_list
.
append
(
default_sub_field_property_dict
)
if
not
sub_field_list
or
default_sub_field_property_dict
[
'editable'
]:
sub_field_list
.
append
(
default_sub_field_property_dict
)
sub_field_list
[
0
][
'title'
]
=
title
sub_field_list
[
0
][
'title'
]
=
title
return
sub_field_list
return
sub_field_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