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
Léo-Paul Géneau
erp5
Commits
244c180d
Commit
244c180d
authored
Jan 24, 2018
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui_test: Avoid useless calls to immediateReindexObject
parent
15730c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Foo_createHasUnauthorizedFoo.py
...erp5_web_renderjs_ui_test/Foo_createHasUnauthorizedFoo.py
+0
-7
No files found.
bt5/erp5_web_renderjs_ui_test/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui_test/Foo_createHasUnauthorizedFoo.py
View file @
244c180d
...
@@ -2,12 +2,5 @@ foo1 = context.foo_module.newContent(portal_type='Foo')
...
@@ -2,12 +2,5 @@ foo1 = context.foo_module.newContent(portal_type='Foo')
foo2
=
context
.
foo_module
.
newContent
(
portal_type
=
'Foo'
)
foo2
=
context
.
foo_module
.
newContent
(
portal_type
=
'Foo'
)
foo1
.
setTitle
(
'hasAccessUnauthorized'
)
foo1
.
setTitle
(
'hasAccessUnauthorized'
)
foo1
.
setSuccessorValue
(
foo2
)
foo1
.
setSuccessorValue
(
foo2
)
foo1
.
immediateReindexObject
()
foo2
.
immediateReindexObject
()
foo2
.
activate
().
manage_permission
(
'Access contents information'
,
'Manager'
,
0
)
foo2
.
activate
().
manage_permission
(
'Access contents information'
,
'Manager'
,
0
)
return
'Done'
return
'Done'
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