Commit 8c3fb0d8 authored by Romain Courteaud's avatar Romain Courteaud

Person should always be defined on Hosting Subscription.

parent 4c6b896e
......@@ -54,12 +54,9 @@
if REQUEST is not None:\n
raise Unauthorized\n
\n
if context.getCausalityState() != \'diverged\':\n
return\n
person = context.getDestinationSectionValue()\n
if person is not None:\n
person.Person_storeOpenSaleOrderJournal()\n
context.converge()\n
if context.getCausalityState() == \'diverged\':\n
person = context.getDestinationSectionValue(portal_type="Person").Person_storeOpenSaleOrderJournal()\n
context.converge()\n
</string> </value>
</item>
<item>
......
230
\ No newline at end of file
231
\ 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