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

added setUid on TempBase and isDelivery on Base


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 75380c37
......@@ -100,6 +100,7 @@ class Base( CopyContainer, PortalContent, Base18, ActiveObject, ERP5PropertyMana
isCategory = 0 #
isBaseCategory = 0 #
isMovement = 0 #
isDelivery = 0 #
isIndexable = 1 # If set to 0, reindexing will not happen (useful for optimization)
# Declarative security
......@@ -1263,5 +1264,8 @@ class TempBase(Base):
def activate(self):
return self
def setUid(self, value):
self.uid = value # Required for Listbox so that no casting happens when we use TempBase to create new objects
InitializeClass(Base)
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