fixed issue 1130, prevent exception for virtual fields in forms, thanks hi21alt
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.2.1 (2012-10-31 10:23:52) stable
|
||||
Version 2.2.1 (2012-10-31 11:43:03) stable
|
||||
|
||||
+1
-1
@@ -2561,7 +2561,7 @@ class SQLTABLE(TABLE):
|
||||
else:
|
||||
raise SyntaxError('something wrong in Rows object')
|
||||
r_old = r
|
||||
if not field:
|
||||
if not field or isinstance(field, (Field.Virtual, Field.Lazy)):
|
||||
pass
|
||||
elif linkto and field.type == 'id':
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user