Browse object fields¶

The table below presents the Python types returned by OdooRPC for each Odoo fields used by Recordset objects (see the browse method):

Odoo fields Python types used in OdooRPC
fields.Binary unicode or str
fields.Boolean bool
fields.Char unicode or str
fields.Datetime datetime.datetime
fields.Float float
fields.Integer integer
fields.Selection unicode or str
fields.Text unicode or str
fields.Html unicode or str
fields.Many2one Recordset
fields.One2many Recordset
fields.Many2many Recordset
fields.Reference Recordset