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

Person should always be defined on Hosting Subscription.

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