fixed issue 649
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.4 (2012-02-07 11:28:00) stable
|
||||
Version 1.99.4 (2012-02-07 11:29:54) stable
|
||||
|
||||
+2
-1
@@ -6383,7 +6383,8 @@ class Table(dict):
|
||||
for field in table:
|
||||
if not field.name in fieldnames and not field.type=='id':
|
||||
field = copy.copy(field)
|
||||
if field.type == 'reference '+table._tablename: # correct self references
|
||||
# correct self references
|
||||
if not table._actual and field.type == 'reference '+table._tablename:
|
||||
field.type = 'reference '+self._tablename
|
||||
newfields.append(field)
|
||||
fieldnames.add(field.name)
|
||||
|
||||
Reference in New Issue
Block a user