Commit e3285d13 authored by Christophe Dumez's avatar Christophe Dumez

- Removed workflow_history because it is date dependent


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9074 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdb4f4af
......@@ -376,6 +376,8 @@ class BaseTemplateItem(Implicit, Persistent):
obj.uid = None
if hasattr(aq_base(obj), '_filepath'):
obj._filepath = None
if hasattr(aq_base(obj), 'workflow_history'):
obj.workflow_history = None
if getattr(obj, 'meta_type', None) == 'Script (Python)':
if hasattr(aq_base(obj), '_code'):
obj._code = None
......
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