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 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -13,9 +10,9 @@ ...@@ -13,9 +10,9 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string>
<string>default</string> <string>default</string>
<string>items</string> <string>items</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -96,10 +93,6 @@ ...@@ -96,10 +93,6 @@
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value> <string>Preferred classification policy for newly created documents</string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_category</string> </value> <value> <string>my_category</string> </value>
...@@ -130,10 +123,7 @@ ...@@ -130,10 +123,7 @@
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -146,16 +136,13 @@ ...@@ -146,16 +136,13 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
1190 1192
\ 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