Bug fixed ID value should not be set to 0 by default
This commit is contained in:
parent
5613c78ebf
commit
b3b70f3b7f
1 changed files with 4 additions and 0 deletions
|
|
@ -501,6 +501,10 @@ class DatabaseQuery(object):
|
|||
value = f.value or "''"
|
||||
fallback = "''"
|
||||
|
||||
elif f.fieldname == 'name':
|
||||
value = f.value or "''"
|
||||
fallback = "''"
|
||||
|
||||
else:
|
||||
value = flt(f.value)
|
||||
fallback = 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue