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
Labels
Merge Requests
140
Merge Requests
140
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
b64b16a9
Commit
b64b16a9
authored
Mar 07, 2024
by
Kazuhiko Shiozaki
Committed by
Arnaud Fontaine
Jul 31, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Form: py3
parent
221fce52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
product/ERP5Form/Form.py
product/ERP5Form/Form.py
+2
-3
No files found.
product/ERP5Form/Form.py
View file @
b64b16a9
...
...
@@ -925,7 +925,7 @@ class ERP5Form(Base, ZMIForm, ZopePageTemplate):
for
data
in
i
[
'field_list'
]:
tmp
=
[]
matched_rate
=
match
(
data
)
if
matched_rate
>
0
:
if
matched_rate
is
not
None
and
matched_rate
>
0
:
form_path
=
i
[
'form_path'
]
form_id
=
i
[
'form_id'
]
field_type
=
data
[
'field_type'
]
...
...
@@ -994,8 +994,7 @@ class ERP5Form(Base, ZMIForm, ZopePageTemplate):
# for skin_folder_id in self.getSimilarSkinFolderIdList():
for
skin_folder_id
in
self
.
getPortalObject
().
portal_skins
.
objectIds
():
iterate
(
getattr
(
skins_tool
,
skin_folder_id
))
proxy_dict_list
=
proxy_dict
.
values
()
proxy_dict_list
.
sort
(
key
=
lambda
x
:
x
[
'short_path'
])
proxy_dict_list
=
sorted
(
proxy_dict
.
values
(),
key
=
lambda
x
:
x
[
'short_path'
])
for
item
in
proxy_dict_list
:
item
[
'related_proxy_list'
].
sort
(
key
=
lambda
x
:
x
[
'short_path'
])
...
...
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