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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
7e041fb8
Commit
7e041fb8
authored
Jun 09, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip pdm ui test
parent
1d2af996
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
bt5/erp5_pdm_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_reset.py
...plateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_reset.py
+4
-0
No files found.
bt5/erp5_pdm_ui_test/SkinTemplateItem/portal_skins/erp5_pdm_ui_test/PdmZuite_reset.py
View file @
7e041fb8
...
@@ -48,6 +48,10 @@ for site_id, site_title in ((source_site_id, source_site_title),
...
@@ -48,6 +48,10 @@ for site_id, site_title in ((source_site_id, source_site_title),
title
=
site_title
title
=
site_title
)
)
portal
.
portal_preferences
.
getActiveSystemPreference
().
setPreferredNodeCategory
(
'site/'
+
source_site_id
)
# Create nodes
# Create nodes
for
node_id
,
node_title
,
site_url
in
((
source_node_id
,
source_node_title
,
source_site_id
),
for
node_id
,
node_title
,
site_url
in
((
source_node_id
,
source_node_title
,
source_site_id
),
(
destination_node_id
,
destination_node_title
,
destination_site_id
)):
(
destination_node_id
,
destination_node_title
,
destination_site_id
)):
...
...
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