| 1 |
.. _fields: |
| 2 |
|
| 3 |
Browse object fields |
| 4 |
==================== |
| 5 |
|
| 6 |
The table below presents the Python types returned by `OdooRPC` |
| 7 |
for each `Odoo` fields used by :class:`Recordset <odoorpc.models.Model>` |
| 8 |
objects (see the :func:`browse <odoorpc.models.Model.browse>` method): |
| 9 |
|
| 10 |
================ ============================== |
| 11 |
`Odoo` fields Python types used in `OdooRPC` |
| 12 |
================ ============================== |
| 13 |
fields.Binary unicode or str |
| 14 |
fields.Boolean bool |
| 15 |
fields.Char unicode or str |
| 16 |
fields.Date `datetime <http://docs.python.org/library/datetime.html>`_.date |
| 17 |
fields.Datetime `datetime <http://docs.python.org/library/datetime.html>`_.datetime |
| 18 |
fields.Float float |
| 19 |
fields.Integer integer |
| 20 |
fields.Selection unicode or str |
| 21 |
fields.Text unicode or str |
| 22 |
fields.Html unicode or str |
| 23 |
fields.Many2one ``Recordset`` |
| 24 |
fields.One2many ``Recordset`` |
| 25 |
fields.Many2many ``Recordset`` |
| 26 |
fields.Reference ``Recordset`` |
| 27 |
================ ============================== |
| 28 |
|