Commit 35dab720 authored by Jérome Perrin's avatar Jérome Perrin

use getParentValue instead of getParent in rule_interaction_workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14217 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 989e5911
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>rule = state_change.object.getParent()\n
<value> <string>rule = state_change.object.getParentValueb()\n
\n
if rule.getPortalType() in (\'Invoice Transaction Rule\', \'Payment Rule\') :\n
rule.updateMatrix()\n
......
......@@ -69,7 +69,10 @@
<item>
<key> <string>_body</string> </key>
<value> <string>matrix = state_change.object\n
matrix.activate(after_path_and_method_id=([matrix.getPath(),], [\'immediateReindexObject\',\'recursiveImmediateReindexObject\'])).updateMatrix()\n
matrix.activate(\n
after_path_and_method_id=([matrix.getPath(),],\n
[\'immediateReindexObject\', \'recursiveImmediateReindexObject\'])\n
).updateMatrix()\n
</string> </value>
</item>
<item>
......
304
\ No newline at end of file
305
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment