Commit b03d750a authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added comment to warn that approach on reference reset is not generic enough (really)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5208 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95eb2db4
...@@ -213,6 +213,7 @@ class CopyContainer: ...@@ -213,6 +213,7 @@ class CopyContainer:
self_base.uid = portal_catalog.newUid() self_base.uid = portal_catalog.newUid()
# Clear the transaction references # Clear the transaction references
# THIS IS NOT GENERIC ENOUGH - PROPERTY SHEET EXTENSION REQUIRED
if getattr(self_base, 'default_source_reference', None): if getattr(self_base, 'default_source_reference', None):
delattr(self_base, 'default_source_reference') delattr(self_base, 'default_source_reference')
if getattr(self_base, 'default_destination_reference', None): if getattr(self_base, 'default_destination_reference', 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