Commit ad0715ff authored by Gabriel Monnerat's avatar Gabriel Monnerat

- Fix issue to display the modification date of document

- Added proxy field to date

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42462 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5fd14b21
......@@ -103,6 +103,7 @@
<value>
<list>
<string>navigation_box</string>
<string>listbox_modification_date</string>
</list>
</value>
</item>
......
......@@ -90,12 +90,7 @@
<item>
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>creation_date</string>
<string>Creation</string>
</tuple>
</list>
<list/>
</value>
</item>
<item>
......@@ -115,7 +110,7 @@
<string>Sharing</string>
</tuple>
<tuple>
<string>Date</string>
<string>modification_date</string>
<string>Date</string>
</tuple>
</list>
......@@ -211,12 +206,7 @@
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>Date</string>
<string>Date</string>
</tuple>
</list>
<list/>
</value>
</item>
<item>
......@@ -232,7 +222,7 @@
<string>Sharing</string>
</tuple>
<tuple>
<string>Date</string>
<string>modification_date</string>
<string>Date</string>
</tuple>
</list>
......@@ -263,7 +253,7 @@
<string>WebSection_getDocumentUrl</string>
</tuple>
<tuple>
<string>Date</string>
<string>time</string>
<string>WebSection_getDocumentUrl</string>
</tuple>
</list>
......
<?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>date_only</string>
<string>default</string>
<string>editable</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_modification_date</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>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>date_only</string> </key>
<value> <string></string> </value>
</item>
<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>target</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>date_only</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>default</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_date</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Modification Date</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: cell.getModificationDate()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -217,7 +217,6 @@ div.main-right div.main-status a {\n
\n
.listbox th {\n
border-left: 1px solid #bbccff;\n
border-top: 1px solid #bbccff;\n
border-right: 1px solid #bbccff;\n
}\n
\n
......
175
\ No newline at end of file
176
\ 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