[FIX]:<type 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled
bzr revid: nch@tinyerp.com-20100629060033-5sqy9a2bximjofdz
This commit is contained in:
parent
db0262801f
commit
506cd4a2af
|
@ -1866,7 +1866,7 @@ class orm_memory(orm_template):
|
|||
if not context:
|
||||
context = {}
|
||||
# we define default value for each field existing in the object
|
||||
value = dict.fromkeys(fields_list)
|
||||
value = dict.fromkeys(fields_list, False)
|
||||
# get the default values for the inherited fields
|
||||
for f in fields_list:
|
||||
if f in self._defaults:
|
||||
|
|
Loading…
Reference in New Issue