Commit a1a27030 authored by Łukasz Nowak's avatar Łukasz Nowak

- in case if object is not implementing getModificationDate fallback to CMFCore implementation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32095 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ce139ba
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>object/getModificationDate</string> </value> <value> <string>python: getattr(object, \'getModificationDate\', None) is not None and object.getModificationDate() or object.modified()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>object/getModificationDate</string> </value> <value> <string>python: getattr(object, \'getModificationDate\', None) is not None and object.getModificationDate() or object.modified()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>object/getModificationDate</string> </value> <value> <string>python: getattr(object, \'getModificationDate\', None) is not None and object.getModificationDate() or object.modified()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
900 901
\ 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