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
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
erp5
Commits
799f6ec3
Commit
799f6ec3
authored
Jul 09, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
graph_editor: fix pylint messages
parent
0839775b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/DCWorkflow_edit.py
...ateItem/portal_skins/erp5_graph_editor/DCWorkflow_edit.py
+1
-2
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/DCWorkflow_getGraph.py
...tem/portal_skins/erp5_graph_editor/DCWorkflow_getGraph.py
+0
-2
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/Workflow_getGraph.py
...eItem/portal_skins/erp5_graph_editor/Workflow_getGraph.py
+0
-2
No files found.
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/DCWorkflow_edit.py
View file @
799f6ec3
...
@@ -3,7 +3,6 @@ from Products.Formulator.Errors import FormValidationError
...
@@ -3,7 +3,6 @@ from Products.Formulator.Errors import FormValidationError
request
=
container
.
REQUEST
request
=
container
.
REQUEST
form
=
getattr
(
context
,
form_id
)
form
=
getattr
(
context
,
form_id
)
edit_order
=
form
.
edit_order
try
:
try
:
# Validate
# Validate
form
.
validate_all_to_request
(
request
,
key_prefix
=
'my_'
)
form
.
validate_all_to_request
(
request
,
key_prefix
=
'my_'
)
...
@@ -16,7 +15,7 @@ except FormValidationError, validation_errors:
...
@@ -16,7 +15,7 @@ except FormValidationError, validation_errors:
result
[
'field_errors'
][
key
]
=
value
.
error_text
result
[
'field_errors'
][
key
]
=
value
.
error_text
return
form
()
return
form
()
(
kw
,
encapsulated_editor_list
),
action
=
context
.
Base_edit
(
form_id
,
silent_mode
=
1
)
(
kw
,
encapsulated_editor_list
),
_
=
context
.
Base_edit
(
form_id
,
silent_mode
=
1
)
assert
not
encapsulated_editor_list
assert
not
encapsulated_editor_list
context
.
setProperties
(
context
.
setProperties
(
...
...
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/DCWorkflow_getGraph.py
View file @
799f6ec3
from
Products.ERP5Type.Message
import
translateString
import
json
import
json
portal
=
context
.
getPortalObject
()
# if a graph has been saved, we use this info for node coordinates.
# if a graph has been saved, we use this info for node coordinates.
position_graph
=
context
.
getProperty
(
'jsplumb_graph'
)
position_graph
=
context
.
getProperty
(
'jsplumb_graph'
)
...
...
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/Workflow_getGraph.py
View file @
799f6ec3
from
Products.ERP5Type.Message
import
translateString
import
json
import
json
portal
=
context
.
getPortalObject
()
# if a graph has been saved, we use this info for node coordinates.
# if a graph has been saved, we use this info for node coordinates.
position_graph
=
context
.
getProperty
(
'jsplumb_graph'
)
position_graph
=
context
.
getProperty
(
'jsplumb_graph'
)
...
...
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