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.Date |
datetime.date |
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 |
|
fields.One2many |
|
fields.Many2many |
|
fields.Reference |
|