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
Nicolas Wavrant
erp5
Commits
5e149355
Commit
5e149355
authored
Nov 07, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Form: remove dead code
parent
96acdd62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
product/ERP5Form/MultiRelationField.py
product/ERP5Form/MultiRelationField.py
+0
-4
No files found.
product/ERP5Form/MultiRelationField.py
View file @
5e149355
...
@@ -592,9 +592,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
...
@@ -592,9 +592,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
field
.
generate_subfield_key
(
SUB_FIELD_ID
,
key
=
key
),
field
.
generate_subfield_key
(
SUB_FIELD_ID
,
key
=
key
),
)
)
if
relation_uid_list
in
(
None
,
''
):
if
relation_uid_list
in
(
None
,
''
):
value_list
=
self
.
default_validator_instance
.
validate
(
field
,
key
,
REQUEST
,
)
field_value_list
=
self
.
_generateFieldValueList
(
field_value_list
=
self
.
_generateFieldValueList
(
field
,
field
,
key
,
key
,
...
@@ -721,7 +718,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
...
@@ -721,7 +718,6 @@ class MultiRelationStringFieldValidator(Validator.LinesValidator):
if
raising_error_value
:
if
raising_error_value
:
self
.
raise_error
(
raising_error_value
,
field
)
self
.
raise_error
(
raising_error_value
,
field
)
return
value_list
return
self
.
editor
(
return
self
.
editor
(
field
.
id
,
field
.
id
,
field
.
get_value
(
'base_category'
),
field
.
get_value
(
'base_category'
),
...
...
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