Ok, this got me out of the woods: if isinstance(inrec['name'], (bool)) and inrec['name'] == False: inrec['name'] = '' else: inrec['name'] = str(inrec['name']) but really this should not be required and the setting of None fields to False forces them to boolean. If there is a transport problem then marshal and unmarshal for the transport and leave the data out of it.
Gerry _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
