Impacted versions:10

Steps to reproduce:
Following the code in https://www.odoo.com/documentation/10.0/api_integration.html both in a fresh install and against 'https://demo.odoo.com/start' trows a type error

Current behavior:
Now I get an error when executing:

```
ids = models.execute_kw(db, uid, password,  'res.partner', 'search',
    [[['is_company', '=', True], ['customer', '=', True]]],
    {'limit': 1})
[record] = models.execute_kw(db, uid, password,
    'res.partner', 'read', [ids])
# count the number of fields fetched by default
len(record)
```

In particular it seems to be a type error (cannot marshal class odoo.tools.float_utils.float_precision)

Expected behavior:
I would expect it to behave as in the documentation

return ','.join(name for id, name in value.name_get()) if value else ''
    def convert_to_display_name(self, value, record):
        raise NotImplementedError()
    def _compute_related(self, records):
        """ Compute the related field ``self`` on ``records``. """
        super(_RelationalMulti, self)._compute_related(records)
        if self.related_sudo:
            
            target = records.mapped(self.name)
            target_ids = set(target.search([('id', 'in', target.ids)]).ids)
            accessible = lambda target: target.id in target_ids
            
            for record in records:
                record[self.name] = record[self.name].filtered(accessible)
    def setup_triggers(self, env):
        super(_RelationalMulti, self).setup_triggers(env)
        
        if isinstance(self.domain, list):
            for arg in self.domain:
                if isinstance(arg, (tuple, list)) and isinstance(arg[0], basestring):
                    self._add_trigger(env, arg[0], self)
class One2many(_RelationalMulti):