Commit 540ae10b authored by Jean-Paul Smets's avatar Jean-Paul Smets

Make outgoing clone events editable - quick fix

(maybe better implementation should be made)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22465 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0051958d
......@@ -307,7 +307,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:(here.hasFile() and \'page\') or \'\'</string> </value>
<value> <string>python:((here.hasFile() and here.getSimulationState() not in (\'draft\', \'outgoing\', \'pending\')) and \'page\') or \'\'</string> </value>
</item>
</dictionary>
</pickle>
......@@ -323,7 +323,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:here.Event_getTextContentCorrespondToFormat(editable=not here.hasFile())</string> </value>
<value> <string>python:here.Event_getTextContentCorrespondToFormat(editable=(not here.hasFile() or here.getSimulationState() in (\'draft\', \'outgoing\', \'pending\')))</string> </value>
</item>
</dictionary>
</pickle>
......@@ -339,7 +339,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>not:here/hasFile</string> </value>
<value> <string>python:not here.hasFile() or here.getSimulationState() in (\'draft\', \'outgoing\', \'pending\')</string> </value>
</item>
</dictionary>
</pickle>
......
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