Commit a9cc6a86 authored by Nicolas Delaby's avatar Nicolas Delaby

Fix tales expression:

- Let user save the form even of classification is empty.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39343 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 78ec8655
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
......@@ -13,9 +10,9 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>default</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -96,10 +93,6 @@
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Preferred classification policy for newly created documents</string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_category</string> </value>
......@@ -130,10 +123,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
......@@ -146,16 +136,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:tuple(here.portal_categories.classification.getCategoryChildLogicalPathItemList(display_none_category=0,filter_node=1,local_sort_id=\'title\',checked_permission=\'View\'))</string> </value>
<value> <string>python: [(\'\', \'\')] + here.portal_categories.classification.getCategoryChildLogicalPathItemList(display_none_category=0,filter_node=1,local_sort_id=\'title\',checked_permission=\'View\')</string> </value>
</item>
</dictionary>
</pickle>
......
1190
\ No newline at end of file
1192
\ 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