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

define setUid on Temp Objects so that we can use a string


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@670 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f6d78786
......@@ -99,6 +99,9 @@ class Temp%s(ERP5TypeDocumentRepository.%s.%s):
def activate(self):
return self
def setUid(self, value):
self.uid = value # Make sure no casting happens when we use Temp classes to create new objects
from Products.PythonScripts.Utility import allow_class
allow_class(Temp%s)
......
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