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:
|
else:
|
||||||
raise SyntaxError('something wrong in Rows object')
|
raise SyntaxError('something wrong in Rows object')
|
||||||
r_old = r
|
r_old = r
|
||||||
if not field:
|
if not field or isinstance(field, (Field.Virtual, Field.Lazy)):
|
||||||
pass
|
pass
|
||||||
elif linkto and field.type == 'id':
|
elif linkto and field.type == 'id':
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user