[FIX] Read : Correction for not passing None values to client via xml-rpc
bzr revid: jvo@tinyerp.com-20100420084917-4lzn1uhx52nnvw3t
This commit is contained in:
parent
f78f7158a8
commit
e4def3bcce
|
@ -2655,6 +2655,8 @@ class orm(orm_template):
|
|||
|
||||
for r in result:
|
||||
for key, v in r.items():
|
||||
if v is None:
|
||||
r[key] = False
|
||||
if key in self._columns:
|
||||
column = self._columns[key]
|
||||
elif key in self._inherit_fields:
|
||||
|
|
Loading…
Reference in New Issue