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
alecs_myu
erp5
Commits
8a5c60da
Commit
8a5c60da
authored
Dec 21, 2011
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_migrateSimulationTree: countMessage expects paths, not relative_url
This fixes previous commit.
parent
5b0465e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
product/ERP5/Document/AppliedRule.py
product/ERP5/Document/AppliedRule.py
+5
-3
No files found.
product/ERP5/Document/AppliedRule.py
View file @
8a5c60da
...
@@ -369,9 +369,11 @@ class AppliedRule(XMLObject, ExplainableMixin):
...
@@ -369,9 +369,11 @@ class AppliedRule(XMLObject, ExplainableMixin):
# XXX: delivery.isSimulated may wrongly return False when a duplicate RAR
# XXX: delivery.isSimulated may wrongly return False when a duplicate RAR
# was migrated but has not been reindexed yet. Delay migration of
# was migrated but has not been reindexed yet. Delay migration of
# this one.
# this one.
rar_list
=
delivery
.
getCausalityRelatedList
(
portal_type
=
'Applied Rule'
)
rar_list
=
delivery
.
getCausalityRelatedValueList
(
rar_list
.
remove
(
self
.
getRelativeUrl
())
portal_type
=
'Applied Rule'
)
if
rar_list
and
portal
.
portal_activities
.
countMessage
(
path
=
rar_list
,
rar_list
.
remove
(
self
)
if
rar_list
and
portal
.
portal_activities
.
countMessage
(
path
=
[
x
.
getPath
()
for
x
in
rar_list
],
method_id
=
(
'immediateReindexObject'
,
method_id
=
(
'immediateReindexObject'
,
'recursiveImmediateReindexObject'
,
'recursiveImmediateReindexObject'
,
'recursiveImmediateReindexSimulationMovement'
)):
'recursiveImmediateReindexSimulationMovement'
)):
...
...
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