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

Avoid accessing not needed objects.

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