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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
erp5
Commits
8a5c60da
Commit
8a5c60da
authored
13 years ago
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
master
cedriclen-eos
environment_demo_notebook
environment_object
erp5_free_subscription
feature/print_redirection
feature/testnode-frontend
hotfix/import_exception
hotfix/matplotlib-figure-persist
hotfix/test-suite-parameters-line-length
import_exception_fix
improve_error_define_undefine
jupyter_error_handling
new_order_prediction_tutorial
order_prediction_pandas_numpy
order_prediction_tutorial_bt5
pivottablejs
print_redirection
shop-box
shop-box-for-merge
shop-box-rebased
strict_catalog
testnode_software_link
timezones
tristan
vivekpab_erp5webrenderjs_layoutconfig
vivekpab_jabberclient
vivekpab_renderjs_interfaces
No related merge requests found
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):
# XXX: delivery.isSimulated may wrongly return False when a duplicate RAR
# was migrated but has not been reindexed yet. Delay migration of
# this one.
rar_list
=
delivery
.
getCausalityRelatedList
(
portal_type
=
'Applied Rule'
)
rar_list
.
remove
(
self
.
getRelativeUrl
())
if
rar_list
and
portal
.
portal_activities
.
countMessage
(
path
=
rar_list
,
rar_list
=
delivery
.
getCausalityRelatedValueList
(
portal_type
=
'Applied Rule'
)
rar_list
.
remove
(
self
)
if
rar_list
and
portal
.
portal_activities
.
countMessage
(
path
=
[
x
.
getPath
()
for
x
in
rar_list
],
method_id
=
(
'immediateReindexObject'
,
'recursiveImmediateReindexObject'
,
'recursiveImmediateReindexSimulationMovement'
)):
...
...
This diff is collapsed.
Click to expand it.
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