Commit 99966d3a authored by Łukasz Nowak's avatar Łukasz Nowak

Avoid accessing not needed objects.

parent 018929ea
...@@ -50,10 +50,7 @@ ...@@ -50,10 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>sale_order = state_change[\'object\']\n <value> <string>context.Alarm_safeTrigger(context.getPortalObject().portal_alarms.vifib_person_update_open_order)\n
\n
portal = sale_order.getPortalObject()\n
context.Alarm_safeTrigger(portal.portal_alarms.vifib_person_update_open_order)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
827 828
\ 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