Commit aa2c2f9e authored by Jérome Perrin's avatar Jérome Perrin

Use activities to update matrix later

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14226 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 70d288ed
...@@ -71,7 +71,10 @@ ...@@ -71,7 +71,10 @@
<value> <string>rule = state_change.object.getParentValue()\n <value> <string>rule = state_change.object.getParentValue()\n
\n \n
if rule.getPortalType() in (\'Invoice Transaction Rule\', \'Payment Rule\') :\n if rule.getPortalType() in (\'Invoice Transaction Rule\', \'Payment Rule\') :\n
rule.updateMatrix()\n rule.activate(\n
after_path_and_method_id=([rule.getPath(),],\n
[\'immediateReindexObject\', \'recursiveImmediateReindexObject\'])\n
).updateMatrix()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
306 308
\ No newline at end of file \ 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