fixed issue 1130, prevent exception for virtual fields in forms, thanks hi21alt

This commit is contained in:
mdipierro
2012-10-31 11:43:11 -05:00
parent 15e5b1a2f0
commit bb5a613ad2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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: