Commit c65fe668 authored by Łukasz Nowak's avatar Łukasz Nowak

Create applied rule.

parent 0c027306
...@@ -50,7 +50,9 @@ ...@@ -50,7 +50,9 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>activate_kw={\'tag\': tag}\n <value> <string>activate_kw={}\n
if tag is not None:\n
activate_kw={\'tag\': tag}\n
for path in [context] + context.getCellValueList():\n for path in [context] + context.getCellValueList():\n
for item in path.getAggregateValueList():\n for item in path.getAggregateValueList():\n
if item.providesIExpandableItem():\n if item.providesIExpandableItem():\n
...@@ -58,7 +60,7 @@ for path in [context] + context.getCellValueList():\n ...@@ -58,7 +60,7 @@ for path in [context] + context.getCellValueList():\n
if applied_rule is not None:\n if applied_rule is not None:\n
applied_rule.expand(activate_kw=activate_kw)\n applied_rule.expand(activate_kw=activate_kw)\n
else:\n else:\n
item.expand(activate_kw=activate_kw)\n item.Delivery_updateAppliedRule(activate_kw=activate_kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
112 113
\ 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