Commit 88173fe4 authored by Ivan Tyagov's avatar Ivan Tyagov

Make possible to show dtype of an ERP5 Data Array.

parent 21364ac1
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
<list> <list>
<string>listbox_shape</string> <string>listbox_shape</string>
<string>listbox_size</string> <string>listbox_size</string>
<string>listbox_dtype</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -84,6 +84,14 @@ ...@@ -84,6 +84,14 @@
<string>size</string> <string>size</string>
<string>Size</string> <string>Size</string>
</tuple> </tuple>
<tuple>
<string>shape</string>
<string>Shape</string>
</tuple>
<tuple>
<string>dtype</string>
<string>Dtype</string>
</tuple>
<tuple> <tuple>
<string>modification_date</string> <string>modification_date</string>
<string>Modification Date</string> <string>Modification Date</string>
...@@ -105,7 +113,7 @@ ...@@ -105,7 +113,7 @@
</tuple> </tuple>
<tuple> <tuple>
<string>version</string> <string>version</string>
<string>version</string> <string>Version</string>
</tuple> </tuple>
<tuple> <tuple>
<string>description</string> <string>description</string>
...@@ -115,6 +123,10 @@ ...@@ -115,6 +123,10 @@
<string>shape</string> <string>shape</string>
<string>Shape</string> <string>Shape</string>
</tuple> </tuple>
<tuple>
<string>dtype</string>
<string>Dtype</string>
</tuple>
<tuple> <tuple>
<string>translated_validation_state_title</string> <string>translated_validation_state_title</string>
<string>State</string> <string>State</string>
...@@ -161,6 +173,10 @@ ...@@ -161,6 +173,10 @@
<string>size</string> <string>size</string>
<string>Size</string> <string>Size</string>
</tuple> </tuple>
<tuple>
<string>dtype</string>
<string>Dtype</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>default</string>
<string>editable</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_dtype</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Dtype of array</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: \'%s\' %str(cell.getObject().getArrayDtype())</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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