Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
7b715490
Commit
7b715490
authored
Nov 09, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Change result path_list to JSON before sending it to python script
parent
e2ee7da0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessManager_buildFromDialogParameterJSON.py
...s_package/BusinessManager_buildFromDialogParameterJSON.py
+4
-3
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/business_manager_select_action_gadget.js.js
...iness_package/business_manager_select_action_gadget.js.js
+1
-1
No files found.
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/BusinessManager_buildFromDialogParameterJSON.py
View file @
7b715490
# Convert the item_path_list from str to list type
if
isinstance
(
item_path_list
,
str
):
item_path_list
=
item_path_list
.
split
(
','
)
import
json
# Load the JSON value for item_path_list
item_path_list
=
json
.
loads
(
item_path_list
)
kwargs
=
{
'checkNeeded'
:
check_needed
,
...
...
product/ERP5/bootstrap/erp5_business_package/SkinTemplateItem/portal_skins/erp5_business_package/business_manager_select_action_gadget.js.js
View file @
7b715490
...
...
@@ -170,7 +170,7 @@
}
}
result
[
this
.
state
.
key
]
=
path_list
;
result
[
this
.
state
.
key
]
=
JSON
.
stringify
(
path_list
)
;
return
result
;
});
...
...
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